E: me@sabisin.com | T: +49.151.68651209

InfoAdditions AIR for iOS

Compiling an iOS app using Flash requires an application descriptor file. Within this XML file, you can tell the app to compile for High-Res iPhones, iPad 2 as well as remove the default gloss on an icon and even change the look-and-feel of a status bar.

Settings that apply only to iOS devices are placed within the element in the application descriptor. The iPhone element can have an InfoAdditions element and a requested element as child. The InfoAdditions element allows you to specify key-value pairs that are added to the Info.plist settings file for the application.

<iPhone>
	<InfoAdditions>
		<![CDATA[
			<key>UIDeviceFamily</key>
			<array>
				<!-- iPhone -->
				<string>1</string>
				<!-- iPad -->
				<string>2</string>
			</array>
			<!-- Remove Gloss on Icon -->
			<key>UIPrerenderedIcon</key>
			<string>YES</string>
			<!-- Make Bar on Iphone Black -->
			<key>UIStatusBarStyle</key>
			<string>UIStatusBarStyleBlackOpaque</string>
			<!-- Persistent Wifi for iPad Apps -->
			<key>UIRequiresPersistentWiFi</key>
			<string>NO</string>
			<!-- Exit the App Completely, not just suspend -->
			<key>UIApplicationExitsOnSuspend</key><true />
		]]>
	</InfoAdditions>
	<!-- Make this available for Retina Display-->
	<requestedDisplayResolution>high</requestedDisplayResolution>
</iPhone>

  1. Perfect work you have done, this site is really cool with wonderful info .

Leave a Reply