cordova - How can I add an iOS icon using PhoneGap 3.5? -


OK ... So, I'm reading a lot about this and beating my head for a while I am here.

If I run "PhoneGap Run IOS" in my terminal ... then I get a beautiful icon in the simulator, everything works fine.

However, if I create PhoneGap and pull me the latest from Gitobb ... then use the QR code to install it on your phone, then I do not get any icon. The app works ... just no icon.

Below is my config file ... and all the images are actually in the path. I know I'm missing something here, but I'm not sure.

Help!

Thanks, David

  & lt; Icon src = "Www / icon.png" /> & Lt ;! - iOS 7.0+ - & gt; & Lt ;! - iPhone / iPod touch - & gt; & Lt; Icon src = "www / res / ios / Icon-60.png" difference: platform = "iOS" width = "60" height = "60" /> & Lt; Icon src = "www/res/ios/Icon-60@2x.png" difference: platform = "iOS" width = "120" height = "120" /> & Lt ;! - iPad - & gt; & Lt; Icon src = "www / res / ios / icon-76.png" difference: platform = "iOS" width = "76" height = "76" /> & Lt; Icon src = "www/res/ios/Icon-76@2x.png" difference: platform = "iOS" width = "152" height = "152" /> & Lt ;! - iOS 6.1 - & gt; & Lt ;! - Spotlight icon - & gt; & Lt; Icon src = "www / res / ios / icon-40.png" difference: platform = "ios" width = "40" height = "40" /> & Lt; Icon src = "www/res/ios/Icon-40@2x.png" difference: platform = "iOS" width = "80" height = "80" /> & Lt ;! - iPhone / iPod touch - & gt; & Lt; Icon src = "www / res / ios / Icon-57.png" inter: platform = "iOS" width = "57" height = "57" /> & Lt; Icon src = "www/res/ios/Icon-57@2x.png" difference: platform = "iOS" width = "114" height = "114" /> & Lt ;! - iPad - & gt; & Lt; Icon src = "www / res / ios / Icon-72.png" difference: platform = "iOS" width = "72" height = "72" /> & Lt; Icon src = "www/res/ios/Icon-72@2x.png" difference: platform = "iOS" width = "144" height = "144" /> & Lt ;! - iPhone spotlight and settings icon - & gt; & Lt; Icon src = "www / res / ios / Icon-29.png" interval: platform = "iOS" width = "29" height = "2 9" /> & Lt; Icon src = "www/res/ios/Icon-29@2x.png" difference: platform = "iOS" width = "58" height = "58" /> & Lt ;! - iPad Spotlight and Settings icon - & gt; & Lt; Icon src = "www / res / ios / Icon-50.png" difference: platform = "iOS" width = "50" height = "50" /> & Lt; Icon src = "www/res/ios/Icon-50@2x.png" difference: platform = "iOS" width = "100" height = "100" />             that people have been successful in PG build when they do not use that directory ... they all start to use anything else. I do not know why.  

In my case, I just copied all my icons in the IMG directory ... instead:

  www / res / ios / icon-60.png < / Code>  

I am using:

  img / ios / icon-60.png    <

It looks OK, there may be some problems with path .

Path And accordingly try on phonegap build they work fine for me.

On the root, where is the index.html file, there is a IMG folder containing all these images.

  & lt ;! - IOS for iOS - & gt; & Lt; Icon Interval: Platform = "IOS" width = "57" height = "57" src = "IMG / IosIcon / Icon-57.png" /> & Lt; Icon Interval: Platform = "IOS" width = "72" height = "72" src = "img / iosIcons / icon-72.png" /> & Lt; Icon Interval: platform = "iOS" width = "72" height = "114" src = "IMG / IosIcon / Icon-57-2 x.png" /> & Lt; Icon Interval: Platform = "IOS" width = "144" height = "144" src = "IMG / IosIcon / Icon-72-2x.png" /> & Lt ;! - Splash for iOS - & gt; & Lt; Difference: Split difference: platform = "IOS" width = "320" height = "480" src = "img / spa page" /> & Lt; Difference: Split difference: platform = "iOS" width = "640" height = "960" src = "img / esplash @ 2x.png" /> & Lt; Difference: Split difference: platform = "iOS" width = "640" height = "1136" src = "picture / phone / 1x / bglangscreen.png" />    

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -