Starting with iOS 9, some iPads now support app multitasking which allows you to use more than one app at a time on the device. These apps can be displayed side-by-side or with an overlay. Your Xojo iOS apps support this feature automatically when all the Supported Orientations for the iPadScreen are turned on for your app.
If you want to turn off any orientations, then your app will not support app multitasking and you will also get an error when uploading the App to iTunes Connect: “ITMS-90474 Invalid Bundle”.
To avoid this error, you just need to supply a plist that tells Apple that your app wants to opt out of app multitasking. The plist simply sets the UIRequiresFullScreen value to True:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>UIRequiresFullScreen</key> <true></true> </dict> </plist>
To provide this plist, create a text file called “Info.plist” and paste the above code into it. Then drag the file into your iOS project. It will be included automatically when you build your app.
More information about iOS Screens is in the Xojo User Guide.