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>
|
|
|
|
<key>CFBundleIconFile</key>
|
|
|
|
<string>@ICON@</string>
|
|
|
|
<key>CFBundlePackageType</key>
|
|
|
|
<string>APPL</string>
|
|
|
|
<key>CFBundleGetInfoString</key>
|
|
|
|
<string>Created by Qt/QMake</string>
|
|
|
|
<key>CFBundleSignature</key>
|
|
|
|
<string>@TYPEINFO@</string>
|
|
|
|
<key>CFBundleExecutable</key>
|
|
|
|
<string>@EXECUTABLE@</string>
|
|
|
|
<key>CFBundleIdentifier</key>
|
2013-10-30 14:21:04 +00:00
|
|
|
<string>@BUNDLEIDENTIFIER@</string>
|
2013-04-09 05:52:58 +00:00
|
|
|
<key>CFBundleDisplayName</key>
|
|
|
|
<string>${PRODUCT_NAME}</string>
|
|
|
|
<key>CFBundleName</key>
|
|
|
|
<string>${PRODUCT_NAME}</string>
|
|
|
|
<key>CFBundleShortVersionString</key>
|
|
|
|
<string>1.0</string>
|
|
|
|
<key>CFBundleVersion</key>
|
|
|
|
<string>1.0</string>
|
2014-09-22 09:21:08 +00:00
|
|
|
<key>LSRequiresIPhoneOS</key>
|
|
|
|
<true/>
|
2014-11-03 10:23:05 +00:00
|
|
|
<key>UILaunchStoryboardName</key>
|
|
|
|
<string>LaunchScreen</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
|
|
|
<key>NOTE</key>
|
|
|
|
<string>This file was generated by Qt/QMake.</string>
|
|
|
|
</dict>
|
|
|
|
</plist>
|