Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 5 update breaks the storyboard scenes layout

As the title said : as soon as I've installed the new XCode version from the MacAppStore (XCode 5), my storyboard is broken : meaning a lot a views have got wrong coordinates and wrong size. (negative values , or zero values...)

I'll have a lot of work to do to fix this.

So the question is, does anyone has experience the same bug? Is there a way to avoid that ? and more important (even if I don't believe it) is there a way to fix my existing file ?

like image 328
Guian Avatar asked Oct 03 '22 21:10

Guian


1 Answers

I have experienced the exact same issue, whats worse is my map view renders black, one of my pages doesn't render any items at all for no apparent reason and various items are sat in different places on the screen due to the IOS 7 changes.

After eventually getting the IOS 6 simulator to work. The storyboard now appears broken for that version too (black view for mapview etc) objects misaligned etc.

This is a pain!

EDIT:

In the view controller under the Attribute Inspector unticking the following tabs will reset your layout without you having to adjust anything:

Extend Edges:

Under top bars Under bottom bars

Also if you find you have lost some menus or they are black (like my uimapview) check it's x and y co-ords and it's size. Mine were completely broken at X:-2137 and Y:865 and size of X: 0 and y:0

like image 61
SmokersCough Avatar answered Oct 07 '22 20:10

SmokersCough