Reputation: 11376
My app always runs in compatibility mode on the new iPad Pro Simulator. I've installed the latest Xcode 10.1. I've verified it is linked against the latest iOS 12.1. When I run it on an iPhone XS, it correctly uses Safe area insets. Yet it shows a black status bar and a black stripe at the bottom where the Home indicator is located.
Even when I create a sample app with Xcode 10.1 and run it on the iPad Pro Simulator, it is launched in compatibility mode:
How to make the app use the whole screen?
Upvotes: 2
Views: 2161
Reputation: 71
I tried the above answer and it did not fix my problem. I did fix my problem by setting a .storyboard file as my Launch Screen File in Project->Target->General. Previously, I had been using Launch Images for my splash screen.
This is mentioned in the "Optimizing Your UI" section here: https://developer.apple.com/ipad/
Upvotes: 2
Reputation: 318884
I was seeing the same issue simply by creating a fresh iOS app using the Single View app or the Master-Detail app templates.
I got it working as expected by doing the following:
I deleted all versions of Xcode installed on my computer. I went to my ~/Library/Developer/Xcode
folder and I deleted the following:
DeveloperPortal*
DerivedData
folderInstalls
folder (which just had some empty folders in it)UserData/IB Support
I deleted the Simulator Devices
folderThen I did a fresh download and install of Xcode 10.1 from the App Store.
After that, a clean build of the test app worked as expected. I don't know which of the above steps was really needed but I got it working.
Upvotes: 2