Game Development Reference
In-Depth Information
The support of different screens and resource sizes is a complex topic of its own,
which is beyond the scope of this topic. For more information, check out the
official Android Developer websites at
http://developer.android.com/guide/
Setting up a custom iOS application icon
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.