Here is a before and after of one of my screens after I upgraded to Xcode 8.
All I did was open up my main.storyboard and from there, I built and ran my app on my phone.
In my version control, I can see Xcode is doing a lot of changes to my main.storyboard just from me opening it.
Whenever I delete those changes, I can see what I use to see in Xcode 7.3.1.
But, as soon as I re-open interface builder with my storyboard, I see those changes come back into place.
Is there something I can do here?
Join them; it only takes a minute:
|
|
||||
|
I had a similar problem with tableview images not appearing once I converted the storyboard file to be Xcode8 compatible. This looks like a bug with Xcode8, so until a bug fix is released, here is a work around:
When you need to make other changes to the storyboard file, follow these steps again. |
|||||||||||||||||||||
|
|
I have a very similar problem. Every time I re-open my Xcode project, Xcode 8 sets all subviews in one VC in one particular UITableViewCell to 1.000 width and height. Already sent a bug report to Apple... |
|||||||||||||||||||||
|
|
XIB or Storyboard set default as older version 7.x and Save and Close. Temporary solution, but works. Don't open again once you have done Save and Close. Otherwise again need follow same steps from begin. |
|||||||||
|
|
Please follow the threads for any possible solution:(I believe it happens to many developers). 1.Go for each Viewcontroller and fix it it by Additional link for the new AutoLayout features in Xcode 8 (WWDC16): Making Apps Adaptive, Part 1 |
|||||||||
|
|
Setting View Size to Freeform from Inferred worked for me. It can be found under the heading Simulated Metrics in Attributes Inspector. |
|||
|
|
|
In my case works solutions suggested by Akhil Kateja and I also need to reset Width and Height of the main view: 1) Set View Size to Free Form 2) Reset Width and Height of the view to the original size: Finally save and you are done. |
||||
|
|
|
in my case same problem |
|||
|
|
|
Xcode 8.1 Beta 2 resolves this issue. Please check this download link |
|||
|
|
|
I had the same problem and I've solved it by force update the controller's view constraints. Put the following code in your viewDidLoad() function
|
|||||
|
|
I have a similar issue since I installed Xcode 8. I open a xib file, do not modify anything inside, compile and the app layout becomes weird. Some images are lost in my tableviews, as well as tableview insets that seems modified. I know a bug was reported to Apple, any other tip to be able to edit xib's without facing this issue ? I spent 3 days trying to understand what was wrong ! Thanks |
|||
|
|
|
I selected each controller and clicked on "Update Frames" and it fixed the layout. |
|||
|
|
protected by Community♦ Sep 19 at 10:50
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?








Debug View Hierarchy. Other objects of the same class that are in UICollectionViews are not the affected. – Manuel Sep 17 at 19:16