In our project we are using xcode 8 combining autolayout and autoresizing. After having sometime, storyboard gets messed up. Subviews of Viewcontroller's view gets misplaced. How to get rid of this problem? Please help.
Asked
Active
Viewed 145 times
-1
-
Are you setting constraints on all the views? – Adeel Miraj Nov 09 '16 at 13:08
-
The view which is having resizing gets misplaced. Views with autolayout dont have any issues. – Avinash Yalgonde Nov 09 '16 at 13:11
-
Use constraints on all the views I would suggest. – Adeel Miraj Nov 09 '16 at 13:13
-
I'm not using autoresizing but sometimes notice the same problem. It's probably a bug of Xcode 8 itself. Not sure how to fix the problem. – Alexander Doloz Nov 09 '16 at 13:19
-
Did you just update to any version of xcode8 from xcode7? There are many known issues with properly setting frames of view controllers once updated. – jalone Nov 09 '16 at 13:55