Unlike Android devices, the iOS application icons require specific names and sizes to target specific devices. For example, to target an iPad device, the icon should be named Icon-72.png
and should be of size 72x72
. If not given, the iOS will scale the available icons to fill in the targeted device. The same concept goes for launch images.
Now, open the data
folder in our CanyonBunny-robovm
project. The following is a screenshot of the data
folder:
Now, delete all the icon images and copy the Canyon Bunny icon to the data
folder. Also, remove the reference to Icon-72.png
from the Info.plist.xml
under <key>CFBundleIconFiles</key>
, as shown here:
<array> <string>Icon</string> </array>
If you have more icons to add, then you can also update them in the Info.plist.xml
file. However, for the launch images, you don't need to add them in the Info.plist.xml
file as it will be automatically detected by the device based on the name.
The support for different screens and launch image sizes is a complex topic. For more information, check out the official Apple Developer website at https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/IconMatrix.html#//apple_ref/doc/uid/TP40006556-CH27-SW1.