IPhone application compiled with Xcode 6 works like Universal on iPad

I have an application developed only for the iPhone family, and I used it for the iPad to check how it will look on the iPhone 4s (since it launches with 4x4 iPhone resolution, size and another “2x” button for full-screen support). However, now when I launch it on my iPad with iOS 8, Xcode ignores all build settings and launches it as for the iPad. My storyboards were not designed for the iPad screen.

I have:

  • Devicesoption iPhoneon the General tab in the project settings
  • Main storyboard file nameand Main storyboard file nameare removed fromInfo-plist
  • All application and image launcher icons for iPad are deleted.
  • The Launch Screen Filesetting is Use Size Classesset to NO, and assets are created only for iPhone

Is this normal behavior? I want to use my iPad as before to check the resolution of the iPhone 4s. I am sure that because of this, my application will not become universal, but, nevertheless, I think this is a problem.

+2
source share
1 answer

Using Launch Screen Filein iOS 8.0, 8.0.1 and 8.0.2 will make you universal.

This is a search bug and fixed in iOS 8.1, since you can only use the asset catalog with startup images.

Or you can add a device modifier to the startup file name, for example <launchNib>~iphone.nib

+5
source

All Articles