Software Archive
Read-only legacy content
17061 Discussions

sync icon in iOS

Rob_Welan
New Contributor I
525 Views

See my attached image. I have spent ages successfully hacking the 'intelxdk.config.additions.xml' file so that custom icons show up instead of PhoneGap / Cordova icons.

Except for my install icon. When syncing the app over to my iOS device for the first time, an icon appears, with the word "Installing..." underneath it. And it fades into view as the install occurs. However, the wrong icon appears. I would like my custom icon to appear. Not a generic icon.

How to fix?

Thanks!

0 Kudos
2 Replies
Roi_D_
New Contributor I
525 Views

i'm looking into building for ios as well but didn't start yet. just to be sure, did you set all icon sizes through the xdk gui before changing the additions xml?

 

0 Kudos
PaulF_IntelCorp
Employee
525 Views

I believe this excerpt from an unfinished sample covers all the iOS icon sizes you might need:

<!-- iOS icons and splash screens -->
<platform name="ios">
    <!-- iPhone and iPod Touch App Icons -->
    <icon src="pkg/ios/icon.png" width="57" height="57" />
    <icon src="pkg/ios/icon-60.png" width="60" height="60" />
    <icon src="pkg/ios/icon@2x.png" width="114" height="114" />
    <icon src="pkg/ios/icon-60@2x.png" width="120" height="120" />
    <icon src="pkg/ios/icon-60@3x.png" width="180" height="180" />
    <!-- iPad, iPad Mini and iPad Pro App Icons -->
    <icon src="pkg/ios/icon-72.png" width="72" height="72" />
    <icon src="pkg/ios/icon-76.png" width="76" height="76" />
    <icon src="pkg/ios/icon-72@2x.png" width="144" height="144" />
    <icon src="pkg/ios/icon-76@2x.png" width="152" height="152" />
    <!-- Spotlight Icons -->
    <icon src="pkg/ios/icon-40.png" width="40" height="40" />
    <icon src="pkg/ios/icon-60.png" width="60" height="60" />
    <icon src="pkg/ios/icon-40@2x.png" width="80" height="80" />
    <icon src="pkg/ios/icon-40@3x.png" width="120" height="120" />
    <icon src="pkg/ios/icon-60@3x.png" width="180" height="180" />
    <!-- Settings Icons -->
    <icon src="pkg/ios/icon-small.png" width="29" height="29" />
    <icon src="pkg/ios/icon-small@2x.png" width="58" height="58" />
    <icon src="pkg/ios/icon-small@3x.png" width="87" height="87" />
    <icon src="pkg/ios/icon-50.png" width="50" height="50" />
    <icon src="pkg/ios/icon-50@2x.png" width="100" height="100" />

    <!-- iPad Splash Screens -->
    <splash src="pkg/ios/default-portrait~ipad.png" width="768" height="1024"/>
    <splash src="pkg/ios/default-landscape~ipad.png" width="1024" height="768"/>
    <splash src="pkg/ios/default-portrait@2x~ipad.png" width="1536" height="2048"/>
    <splash src="pkg/ios/default-landscape@2x~ipad.png" width="2048" height="1536"/>
    <splash src="pkg/ios/default-portrait~ipad-pro.png" width="2048" height="2732"/>
    <splash src="pkg/ios/default-landscape~ipad-pro.png" width="2732" height="2048"/>
    <!-- iPhone 6 and 6 Plus Splash Screens -->
    <splash src="pkg/ios/default-667h.png" width="750" height="1334"/>
    <splash src="pkg/ios/default-736h.png" width="1242" height="2208"/>
    <splash src="pkg/ios/default-landscape-736h.png" width="2208" height="1242"/>
    <!-- iPhone 5, iPhone 4s, iPhone Retina and iPhone Splash Screens -->
    <splash src="pkg/ios/default~iphone.png" width="320" height="480"/>
    <splash src="pkg/ios/default@2x~iphone.png" width="640" height="960"/>
    <splash src="pkg/ios/default-568h@2x~iphone.png" width="640" height="1136"/>
</platform>

 

0 Kudos
Reply