Using Xcode 12.4. My App will not fit the full screen when run on an iPad Pro 12.9 inch simulator. It runs in a box within the screen, with a black border on each side. I have tried various suggestions from stackoverflow and elsewhere. The target "Deployment Info" selects iPhone and iPad. Built for iOS 12.
I do have a LaunchScreen.storyboard. And my info.plist has the following.
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
I tried modifying my info.plist as shown below, as it was mentioned here as a possible solution. This didn't work - but note I set the same launch screen for both iphone and ipad:
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UILaunchStoryboardName~ipad</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
Can anyone suggest the cause for this problem? Or point me to some current documentation on how to correctly configure this.The App runs fine on iPhone simulations and real iPhones. My launch screen was coded a few years ago. What magic command or setting is needed these days?
Thanks in advance!