简体   繁体   中英

Different view appearances in iOS7/iOS8

In my app I need to support iOS 7 and iOS 8. I use Xcode 6. When I build app for iPhone 5s (iOS 8.0) it looks like this:

正确的布局

and it's right. But when I build app for iPhone 5s (iOS 7.1) it looks like this:

布局不正确

so button Done is missed and some black lines appeared. It looks like Xcode built app for iPhone 4. Maybe I forgot to set some properties and I can't understand what exactly properties I forgot. Any ideas?

You are missing the appropriate Launch images.

Edit: Just tested a new project and black bars disappeared just by clicking "Use Asset catalog" even if you don't actually set images.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM