I had a app that works without AutoLayout and Constraints. I only set the autoresizing in the size inspector. Under iOS 9 and earlier works all fine. Under iOS 10 the autoresizing doesn't work and set the size out of the screen. Look at the following picture : Under iOS 10 in the simulator
The same is happened on a iPhone 5 and iPhone 6 Plus. What can I do, that the autoresizing works fine.
Edit 1: Another workaround is to set the storyboard to Xcode 7.x version. You can do this in the File Inspector under Interface Builder Document. To set the option Opens in to the value Xcode 7.x. Answer the following question with save and close. If you now run the project on your iPad or iPhone all view controller with UIScrollView works fine with the auto resizing.
Important: This workaround to perform after each change in the storyboard.
Edit 2: I had make a cross post in the apple developer forum, look here : https://forums.developer.apple.com/message/182716#182716
This is a bug in Xcode 8,Just use 7.x version to build your app ,then it will show normally.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With