Jon
Jon

Reputation: 1

iOS8 view is fine but is smaller on iOS7

I am currently working on an iOS application with a Deployment Target of 7.1. Most of my testing has been performed in an iOS8 environment with no issues. I hooked up an iOS7 (5s) test device and found that the view is showing itself as through the phone is a 3.5 (4). I'm not sure what the difference is between iOS7 and iOS8 that would cause this but I can't seem to find a solution. I have rebooted the device, reinstalled the app, and made sure all constraints were set properly in the dev environment. Any ideas?

Thank you in advance.

Upvotes: 0

Views: 162

Answers (3)

lojals
lojals

Reputation: 999

You have to create a LaunchImage in the xcassets file. That will solve your problem.

enter image description here

Upvotes: 0

Kamchatka
Kamchatka

Reputation: 3675

Make sure your app has a launch screen for 4" devices. Otherwise it will default to 3.5" devices.

Upvotes: 0

souvickcse
souvickcse

Reputation: 7804

Use splash screen images not splash screen xib. In my case I have the same problem iOS7 device has black stripe at top and bottom. So I change the settings for splash screen and used images as a splash screen instead of xib and it solved my problem.

Upvotes: 1

Related Questions