Book Image

Learning LibGDX Game Development- Second Edition

Book Image

Learning LibGDX Game Development- Second Edition

Overview of this book

Table of Contents (21 chapters)
Learning LibGDX Game Development Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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...