Question

Am getting the following message in Storyboard based application(ios & and xCode 5) “The selected views have no constraints. At build time explicit left, top, width, and height constraints will be generated for the view.”

enter image description here.

Was it helpful?

Solution

In Xcode 5, interface builder will not add any constraints automatically. You could add the required constraints manually. In the bottom of window there is an option for that. You can choose Add Missing constraints or Reset to Suggested constraints. Otherwise add each constraints one by one.

enter image description here

OTHER TIPS

Either add some constrains or untick "Use Auto Layout" from "File inspector"

enter image description here

Image taken from here.

First of all you have to add constraints to the image. For that click the 2nd button from the left (4 set of buttons), that is in bottom right corner of your screen shot. I think you get it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top