守望者--AIR技术交流
标题:
air for ios 移植经验-配置文件的使用。
[打印本页]
作者:
破晓
时间:
2015-1-6 15:33
标题:
air for ios 移植经验-配置文件的使用。
下面给是我知道的一些配置文件标签:
<?xml version=”1.0″ encoding=”utf-8″ standalone=”no”?>
<application xmlns=”http://ns.adobe.com/air/application/3.1″>
<!– 苹果应用的id –>
<id>com.smallpeak.Maplestory</id>
<!– 应用程序的文件夹名称–>
<filename>Maplestory</filename>
<!– 应用显示在ios上的名称 –>
<name>Maplestory</name>
<!– 应用程序的版本–>
<versionNumber>1.0</versionNumber>
<!–版本标签–>
<!– <versionLabel></versionLabel> –>
<!– 应用的描述–>
<!– <description></description> –>
<!– 版权 –>
<!– <copyright></copyright> –>
<!– 应用程序的初始化窗口设置–>
<initialWindow>
<!– 程序的主文件 –>
<content>[此值将由 Flash Builder 在输出 app.xml 中覆盖]</content>
<!– 程序的方向 “portrait” or “landscape” 可以设置成垂直 或者横屏>
<aspectRatio>landscape</aspectRatio>
<!– 程序是否自动转向 –>
<!– <autoOrients>false</autoOrients> –>
<!– 全屏设置 –>
<!– <fullScreen>true</fullScreen> –>
<!– 程序的渲染模式 cpu, gpu, or direct>
<renderMode>gpu</renderMode>
<!–窗口的可见性–>
<visible>true</visible>
</initialWindow>
<!– 应用程序的图标设置–>
<icon>
<image16x16></image16x16>
<image32x32></image32x32>
<image36x36></image36x36>
<image48x48></image48x48>
<image57x57></image57x57>
<image72x72></image72x72>
<image114x114></image114x114>
<image128x128></image128x128>
</icon>
<!– iOS specific capabilities –>
<!– <iPhone> –>
<!– 应用程序的普通设置 –>
<!– <InfoAdditions>
<![CDATA[
<key>UIDeviceFamily</key>//应用程序支持哪些设备
<array>
<string>1</string>//1为iphone系列
<string>2</string>//2为ipad系列
</array>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleBlackOpaque</string>
<key>UIRequiresPersistentWiFi</key>//需要持久的wifi网路
<string>YES</string>// YES 或者 NO
]]>
</InfoAdditions> –>
<!–这个是设置应用程序的系统权限,但是只能在mac机器上编译。这里不做解释 –>
<!– <Entitlements>
<![CDATA[
<key>keychain-access-groups</key>
<array>
<string></string>
<string></string>
</array>
]]>
</Entitlements> –>
<!– 应用程序分辨率形式 “standard” or “high”). 普通 高清–>
<!– <requestedDisplayResolution></requestedDisplayResolution> –>
</application>
复制代码
本文来自:
http://www.badyoo.com/111.html
欢迎光临 守望者--AIR技术交流 (http://www.airmyth.com/)