2012-12-03 13:55:19 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2013-07-31 14:37:31 +00:00
|
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
|
|
<plist version="1.0">
|
2012-12-03 13:55:19 +00:00
|
|
|
<dict>
|
2017-08-03 23:20:29 +00:00
|
|
|
<key>CFBundleDisplayName</key>
|
|
|
|
<string>${PRODUCT_NAME}</string>
|
2012-12-03 13:55:19 +00:00
|
|
|
<key>CFBundleExecutable</key>
|
2017-11-21 07:49:34 +00:00
|
|
|
<string>${EXECUTABLE_NAME}</string>
|
2017-08-03 23:20:29 +00:00
|
|
|
<key>CFBundleIconFile</key>
|
2017-11-21 07:49:34 +00:00
|
|
|
<string>${ASSETCATALOG_COMPILER_APPICON_NAME}</string>
|
2012-12-03 13:55:19 +00:00
|
|
|
<key>CFBundleIdentifier</key>
|
2017-11-21 07:49:34 +00:00
|
|
|
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
|
2013-04-09 05:52:58 +00:00
|
|
|
<key>CFBundleName</key>
|
|
|
|
<string>${PRODUCT_NAME}</string>
|
2017-08-03 23:20:29 +00:00
|
|
|
<key>CFBundlePackageType</key>
|
|
|
|
<string>APPL</string>
|
2013-04-09 05:52:58 +00:00
|
|
|
<key>CFBundleShortVersionString</key>
|
2017-11-21 07:49:34 +00:00
|
|
|
<string>${QMAKE_SHORT_VERSION}</string>
|
2017-08-03 23:20:29 +00:00
|
|
|
<key>CFBundleSignature</key>
|
2017-11-21 07:49:34 +00:00
|
|
|
<string>${QMAKE_PKGINFO_TYPEINFO}</string>
|
2013-04-09 05:52:58 +00:00
|
|
|
<key>CFBundleVersion</key>
|
2017-11-21 07:49:34 +00:00
|
|
|
<string>${QMAKE_FULL_VERSION}</string>
|
2014-09-22 09:21:08 +00:00
|
|
|
<key>LSRequiresIPhoneOS</key>
|
|
|
|
<true/>
|
2017-11-21 07:49:34 +00:00
|
|
|
<key>MinimumOSVersion</key>
|
|
|
|
<string>${IPHONEOS_DEPLOYMENT_TARGET}</string>
|
2017-08-03 23:20:29 +00:00
|
|
|
<key>NOTE</key>
|
|
|
|
<string>This file was generated by Qt/QMake.</string>
|
2014-11-03 10:23:05 +00:00
|
|
|
<key>UILaunchStoryboardName</key>
|
2019-04-16 06:32:33 +00:00
|
|
|
<string>${IOS_LAUNCH_SCREEN}</string>
|
iOS: Set up default Info.plist to support all interface orientations
When the UISupportedInterfaceOrientations key is missing, iOS will start
up the application in the orientation defined by UIInterfaceOrientation,
and if that key is also missing, it will default to portrait orientation.
Unfortunately, when the application has finished launching on an iPad,
there is no way to re-evaluate the current device orientation unless the
user actively rotates the device, so for example if the device is physically
in landscape orientation, and the application is started up in portrait,
the application will not auto-rotate to landscape after starting up.
It would seem that [UIViewController attemptRotationToDeviceOrientation]
would be the right API to do this, but even after telling the device
to beginGeneratingDeviceOrientationNotifications the device orientation
will still match the startup orientation until the device is physically
rotated. For iPod/iPhones this is not an issue, as the OS will update
the device orientation after startup. Presumably the difference in
behavior between the two device classes is due to the iPad supporting
any orientation for the application grid.
Since we would prefer the application to either start up in the right
orientation directly, or at least rotate to it after startup, and the
latter can't be done, we apply UIInterfaceOrientationMaskAll to the
Info.plist file. This also has the benefit that the application will
show any splash screens in the right orientation.
Change-Id: If0421bc7b82b7f14a510fa1f34eac4f6407f570f
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
2014-10-01 14:06:02 +00:00
|
|
|
<key>UISupportedInterfaceOrientations</key>
|
|
|
|
<array>
|
|
|
|
<string>UIInterfaceOrientationPortrait</string>
|
|
|
|
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
|
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
|
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
|
|
</array>
|
2012-12-03 13:55:19 +00:00
|
|
|
</dict>
|
|
|
|
</plist>
|