This question already has answers here:
Black bars on launch screen on iPhone5 (and iPhone6)
(2 answers)
Closed 7 years ago.
Just got an iPhone 6S and started adjusting my project to it.
Somehow, when compiled and debugged on my iPhone, the view seems much smaller (like 4s).
Xcode: 7.1.1
iOS: 9.0.1
IPHONE: 6S
Anyone knows that went wrong?
Thanks,
You need to include launch images for all the iPhone sizes if you want the app to use the native screen size. The easiest way to do this is to migrate your launch images into an asset catalog.
Related
This question already has answers here:
iOS 9 Xcode 7 - Application appears with black bars on top and bottom
(17 answers)
Closed 6 years ago.
My project UI work well for simulator 4s and also splash screen showing while running
but when I run on 5s or 6s device splash screen not showing and blank spaces appears header and footer of the view...
here is my 4s device simulator UI-
and this is 5s simulator UI-
You need to create the different size of launch screen image or launch screen from interface builder.
Please have a look this link
This question already has answers here:
iOS 9 Xcode 7 - Application appears with black bars on top and bottom
(17 answers)
Closed 7 years ago.
I just wanted to ask why my app is starting with a too small size on devices other than iPhone 4s on my simulator? Is there something wrong related to the constraints I set or general project difficulties?
You must set your launch images. At least set them for iphone 6 and you should solve the issue
EDIT To clarify question
I have a large app that has been out for a few years. It runs perfect on all iPhone sizes (4 up to the 6 plus). It supports both iOS 7 & iOS8, and is Optimized for iPhone 5.
My issue is with iOS9. The app no longer uses the built in scaling that iOS provided to fit the app onto the 6 or 6P screens.
Not only that, but it is rendered as if it were on a 3.5" screen. It is not recognizing the Default-568h#2x.png static image. Causing it to letterbox on an iPhone 5.
Is this a bug in iOS9 that does not recognize the static splash screen image?
Thank you so much!
This was caused by my Default-568h#2x.png file being localized (Which is required by iTunes Connect).
When I removed the localization from the file, it started rendering perfect in iOS9.
This does not help anyone whose app is currently in the store with a localized Default-568h#2x splash screen file.
As far as I can tell the only way around it is to have a 'Splash Screen' .xib file defined in your project settings (you then lose the auto scaling for iPhone 6 and 6+, which was perfect for our application).
I have a case open with Apple regarding this. They told me that they could not look deeper into it until iOS9 was out of Beta (tomorrow morning), and if it was still happening, than it is indeed a bug on their side and (hopefully) would be fixed soon.
I use Images.xcassets to manage assets of app. I had to create a LaunchImage in there and just add images for iphone Portrait ios 7-9 and not have any for retina 4.7 and retina 5.5 and things worked again.
If you use a Launch Storyboard then you need to remove that and add xcassets as mentioned in previous paragraph
This is in xcode 7
This question already has answers here:
How to configure iOS app to work on specific devices?
(3 answers)
Closed 9 years ago.
How can I set up my iOS project to run only on iPhone 5, iPhone 4S, iPhone 4, and all iPads except the iPad 1? I am committing to iOS 6 only.
I wanted to answer this in a comment but I cannot still comment everwhere. :D
Take a loook at this : How to configure iOS app to work on specific devices?
By setting Deployment Target to iOS 6, you exclude iPad 1 and any iPhone older than 3GS. Not sure about iPods, but you didn't mention them.
Since iOS 6 runs on iPhone 3GS and you don't want to support it, you need to have reason. Tell us and there may be solution.
Edit: So if the main reason is non-retina display, you can't do much. You are not alone, who would prefer all devices to be retina-capable, but unfortunately… But hey, all retina graphics just works on these devices without a problem, so just leave it like that. Users of those devices know they have poor display.
This question already has answers here:
Restrict to certain iOS target devices for App Store submission
(4 answers)
Closed 9 years ago.
I have an app that creates graphics and I've only tested it on an iPad with retina display (screen scale of 2). Because the app heavily depends on this screen density, I'm looking for a way to exclude earlier versions of iPad, as well as iPad mini from being able to download my app from the app store.
Is there some xCode project flag or some device feature that I can use to make sure that my iOS 6.0 app would not be sold to devices which do not have retina displays?
Thank you!
I am pretty sure that any attempt to do that would get dinged by the App Store guardians. You can exclude the iPad 1 by requiring iOS 6 but that's as far as you can go.