I have a project that I am upgrading from Xcode 4.6.3 to Xcode 6.1.1. I opened it in Xcode 6.1.1 and opened every .xib. The format of each .xib has changed as expected. I want to try using auto-layout. Use auto-layout, and use usage classes. I changed every suitable object from the alignment frame to be an alignment rectangle.
For a while I could not add any restrictions. Then, after some attempts, I could add a few. See screenshot.
For the selected view, I cannot add a restriction. Flags and fields Add new restrictions are disabled. Only frame updates are available. I can add an alignment constraint too. Ctrl-dragging a row from a view does not add a limit. Note the height of the 411 view. If I select another object and then select View again, the height will change to a lower height of the parent tab bar. If I keep doing that the height is getting smaller and smaller, then Xcode crashes. How to add a restriction to this view?
The tab bar X, Y, Width and Height are disabled. When I change the height of the presentation of the assigned controller view, the tab bar Y changes this value minus the height of the tab bar 49. When I select View, again its height is now 49 smaller. Select the tab bar, its Y is now 49 smaller. And so on. How do I set the dimensions of an Assigned View Controller View to stick to if I cannot add constraints?
source share