/ Published in: XML
URL: http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffe.html
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. Enjoy!
This is helpful when trying to figure out application icons (http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d129907d2886-8000.html)
Expand |
Embed | Plain Text
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <application xmlns="http://ns.adobe.com/air/application/2.7"> <id>com.chrisaiv.applicationname</id> <versionNumber>1.0.0</versionNumber> <filename>ApplicationName</filename> <description>Descritpion</description> <name>Application Name</name> <copyright>2011</copyright> <initialWindow> <content>Content.swf</content> <systemChrome>standard</systemChrome> <transparent>false</transparent> <visible>true</visible> <!-- Not necessary but helpful --> <width>960</width> <height>640</height> <!-- No Keyboard needed--> <softKeyboardBehavior>none</softKeyboardBehavior> <fullScreen>true</fullScreen> <autoOrients>false</autoOrients> <aspectRatio>portrait</aspectRatio> <renderMode>gpu</renderMode> </initialWindow> <customUpdateUI>false</customUpdateUI> <allowBrowserInvocation>false</allowBrowserInvocation> <icon> <image29x29>icons/29x29.png</image29x29> <image57x57>icons/57x57.png</image57x57> <image114x114>icons/114x114.png</image114x114> <image512x512>icons/512x512.png</image512x512> <image48x48>icons/48x48.png</image48x48> <image72x72>icons/72x72.png</image72x72> </icon> <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 but remember, we've made the app full screen --> <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> </application>
You need to login to post a comment.
