2012-04-02 6 views
2

私は、phonegapビルドを使用して、ランドスケープモードのipadアプリケーション用のスプラッシュスクリーンを設定しようとしています。私はphonegapのドキュメント(https://build.phonegap.com/docs/config-xml)に記載されている仕様を使用しましたが、動作しないようです。アイコンはうまく動作するので、スプラッシュスクリーンのタグに問題があるようです。Phonegapビルド(config.xml)とiPadスプラッシュスクリーン

私はiOS 5.1でiPadを実行しています。誰も同じような問題を抱えていましたか?

ご協力いただければ幸いです。ここで

は私のconfig.xmlにある:

<?xml version="1.0" encoding="UTF-8" ?> 
<widget xmlns = "http://www.w3.org/ns/widgets" 
     xmlns:gap = "http://phonegap.com/ns/1.0" 
     id  = "com.myapp" 
     version = "1.0.0"> 

    <name>myapplication</name> 
    <description>myapplication</description> 
    <author href="https://www.myapp.org" email="[email protected]">myapp</author> 

    <preference name="orientation" value="landscape" /> 

    <gap:splash src="gfx/ios/splashscreen_landscape.png" width="1024" height="748"/> 
    <gap:splash src="gfx/ios/splashscreen_portrait.png" width="768" height="1004"/> 

    <icon src="gfx/ios/icon57x57.png" width="57" height="57"/> 
    <icon src="gfx/ios/icon72x72.png" width="72" height="72"/> 
    <icon src="gfx/ios/icon114x114.png" width="114" height="114"/> 
</widget> 
+0

私は同じ問題を抱えています。あなたは解決策を見つけましたか? –

答えて

1

は、その高さは768ではなく748(無ステータスバー)で判明したので、私は私のconfig.xmlのこのタグで終わった:

<gap:splash src="gfx/ios/splashscreen_tablet.png" width="1024" height="768"/> 

また、splashscreen_tablet.pngも90度回転させる必要があります。 768x1024 pngにする必要があります。オフラインのWebアプリケーションと同じように機能します。

関連する問題