Reputation: 51
I inherited an iOS app and I've found that the full height isn't being used. Here's a pic on the iPhone 6:
Seems like it's stuck on an iPhone 4 resolution.
iOS deployment target: 7.1
Any ideas how to make the height fit to full screen for the entire app? Thank you!
Upvotes: 0
Views: 62
Reputation: 162
The default launch screen is not utilizing the full size of the phone. You may need to create a launch screen first.
To create the launch screen go to File and then New File. Under the User Interface tab select Launch Screen and save it.
From here, in your project file, select Targets and then Deployment Info. Under app icons and images, change the Launch Main Screen to main.
This should fix your issue!
Upvotes: 1
Reputation: 3519
To resolve the issue, follow the below steps:
Navigate to project settings
Under "App Icons and Launch Images" click on "Use Asset Catalog"
Select "Migrate" on the popup that appears.
This should fix the issue.
Here is a link to the reference where I've previously found this answer: Black bars appear in app
Upvotes: 0