ios - 试图为 i-pad 制作一个 flash 项目,但在 itunes 上它作为一个 i-phone 应用程序出现

标签 ios actionscript-3 flash

我正在用 Flash as3 制作一个 i-pad 应用程序。我拥有所有证书并且能够将其上传到 i-tunes,但是它出现在 i-phone 应用程序下而不是 i-pad 应用程序下,当我将它下载到我的 i-pad 上时它是 i-phone 大小。有人告诉我,这个问题的解决方案应该放在 xml 文档中,但即使在网上搜索了很多之后,我也找不到如何编辑文档。如果有人有任何想法,这里是整个 xml 文档

<?xml version="1.0" encoding="utf-8" ?> 
<application xmlns="http://ns.adobe.com/air/application/18.0">

<id>za.co.brandfoundry</id>
<versionNumber>0.1</versionNumber>
<supportedProfiles>mobileDevice</supportedProfiles>
<filename>Whiskeyfori-pad</filename>

<name>Whiskey for i-pad</name>
<description></description>
<copyright></copyright>

<android>
    <manifestAdditions><![CDATA[

        <manifest android:installLocation="auto">
          <uses-sdk android:minSdkVersion="8"/>
            <uses-permission android:name="android.permission.INTERNET"/>
            <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
        </manifest>

    ]]></manifestAdditions>
</android>
<iPhone> 
    <InfoAdditions><![CDATA[ 

        <key>UIStatusBarStyle</key> 
        <string>UIStatusBarStyleBlackOpaque</string> 
        <key>UIRequiresPersistentWiFi</key> 
        <string>NO</string>
        <key>UIPrerenderedIcon</key>  
        <true/>
        <key>UIApplicationExitsOnSuspend</key>
        <true/>

        <key>UIDeviceFamily</key>
        <array>
            <!-- iPhone support -->
            <string>1</string> 
            <!-- iPad support -->
            <!--<string>2</string>-->
        </array>

    ]]></InfoAdditions> 
    <requestedDisplayResolution>high</requestedDisplayResolution>
</iPhone> 

<initialWindow>
    <title>Whiskey for i-pad</title>
    <content>Whiskeyfori-pad.swf</content>
    <visible>true</visible>
    <fullScreen>true</fullScreen>
    <!--<autoOrients>false</autoOrients>-->
    <!--<aspectRatio>landscape</aspectRatio>-->
    <renderMode>direct</renderMode>
    <!--<depthAndStencil>true</depthAndStencil>--> <!-- required for 3D -->
</initialWindow>

<icon>
    <image48x48>icons/icon_48.png</image48x48>
    <image57x57>icons/icon_57.png</image57x57>
    <image72x72>icons/icon_72.png</image72x72>
    <image76x76>icons/icon_76.png</image76x76>
    <image96x96>icons/icon_96.png</image96x96>
    <image114x114>icons/icon_114.png</image114x114>
    <image120x120>icons/icon_120.png</image120x120>
    <image144x144>icons/icon_144.png</image144x144>
    <image152x152>icons/icon_152.png</image152x152>
    <!--<image512x512>icons/icon_512.png</image512x512>-->
</icon>

<!-- 
AIR options:
http://livedocs.adobe.com/flex/3/html/File_formats_1.html#1043413

AIR mobile options:
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffe.html

iOS icons guidelines:
http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html

Android manifest documentation:
http://developer.android.com/guide/topics/manifest/manifest-intro.html
-->

最佳答案

您需要取消注释 <!--<string>2</string>-->在您的 xml list 文件中。我可以看到评论中已经回答了这个问题,但在你的问题中你说它是一个 iPad 应用程序。要限制您的应用仅在 iPad 上可用,您需要注释掉 <string>1</string> 行.

编辑:虽然这不是您问题答案的一部分,但请记住这一行:<name>Whiskey for i-pad</name>是您的应用程序名称在您的设备上的外观。此名称不必是唯一的,因此您可以使用 Whiskey。 :)

关于ios - 试图为 i-pad 制作一个 flash 项目,但在 itunes 上它作为一个 i-phone 应用程序出现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32249247/

相关文章:

ios - 为什么 webview 不适合所有 View ?

java - Java开发者学习Flash AS3的方法?

html - 在不访问任何文件或不了解所用 cms 的情况下复制站点

ios - 无法从 UIWebView 获取 HTML 字符串

ios - iOS 7 Web 应用程序中的 HTTP 身份验证没有响应

html - 使用 Flash AS3 提取 div 的内容

java - 是否可以使用计时器扩展Flex树中的所有节点?

html - 是否可以在嵌入的 AS2 swf 之上的 DIV 中嵌入 AS3 swf?

iphone - 解析 JSON 字典/数组

apache-flex - 通过URLRequest上传字节数组