私が取り組んでいるチタン合金プロジェクトがあります。Titanium Studio で [実行] > [iPad シミュレーター] を選択すると、iPad シミュレーターがアプリでフルスクリーンで実行されます。ただし、build フォルダーを見ると、iphone フォルダーしか表示されません。その Xcode プロジェクトを実行し、iPad デバイス (ハードウェア) をターゲットにすると、アプリ ウィンドウが小さくなり、隅に「x2」ボタンが表示されます。
私はtiapp.xmlファイルを調べて、有効/無効target device="iphone"
にして他の設定をいじり、クリーンビルドなどを行いましたが、まだ喜びはありません.
前もって感謝します。これが私のtiapp.xml設定の一部です-
<property name="ti.ui.defaultunit" type="string">dp</property>
<iphone>
<orientations device="iphone">
<orientation>Ti.UI.PORTRAIT</orientation>
</orientations>
<orientations device="ipad">
<orientation>Ti.UI.PORTRAIT</orientation>
<orientation>Ti.UI.UPSIDE_PORTRAIT</orientation>
<orientation>Ti.UI.LANDSCAPE_LEFT</orientation>
<orientation>Ti.UI.LANDSCAPE_RIGHT</orientation>
</orientations>
</iphone>
<android xmlns:android="http://schemas.android.com/apk/res/android">
<tool-api-level>14</tool-api-level>
<manifest>
<uses-sdk android:maxSdkVersion="17"
android:minSdkVersion="8" android:targetSdkVersion="14"/>
<application android:theme="@android:style/Theme.Holo.Light"/>
</manifest>
</android>
<mobileweb>
<precache/>
<splash>
<enabled>true</enabled>
<inline-css-images>true</inline-css-images>
</splash>
<theme>default</theme>
</mobileweb>
<modules/>
<deployment-targets>
<target device="android">true</target>
<target device="blackberry">true</target>
<target device="ipad">true</target>
<target device="iphone">false</target>
<target device="mobileweb">true</target>
<target device="tizen">true</target>
</deployment-targets>
<sdk-version>3.1.3.GA</sdk-version>
<plugins>
<plugin version="1.0">ti.alloy</plugin>
</plugins>