Reputation: 2386
I started a new Xcode6 project settings iOS8 as the deployment target. I designed the screens in a storyboard, disabling autolayout and using the auto-resizing masks. Everything works perfectly on iPhone 5/5s/6/6+ using iOS8.
Now I wanted to enable support for iOS7, setting the deployment target to that version...however if I run the app in the iPhone 5/5s sim with iOS7, the layout is totally broken: there are black strips at the top and the bottom of every screen, and many other views are bad positioned.
Since it works fine on iOS8...what can it be?
Upvotes: 1
Views: 587
Reputation: 2386
As written in my comment above, I was missing two things:
1) the launch image for iPhone 5/5s on iOS7. It was working on iOS8 because iOS8 supports a dynamic xib file for the launch screen. The project had the xib but not the static image to support iOS7
2) it appears the cell's contentView (for collection views, and I suppose tableviews) is "borken" in xcode6/iOS6. This post explains how to fix it.
Upvotes: 1