Defining icons and images for iOS development

When we develop apps for iOS devices, we must provide specifically formatted icon and splash screen images. Because of the different orientations (portrait and landscape) and screen sizes, several different versions of each image (icon and splash screen) are required.

Getting ready

You will require software to create the original graphics as well as to export them in the proper sizes.

How to do it...

The icons and images for iOS development are defined using the following steps:

  1. Select the Standalone Application Settings... option from the File drop-down menu.
  2. Click on the How to do it... icon in the top row of the Standalone Application Settings dialog box.
  3. Ensure that the checkbox next to the iOS build option is checked. Once you select this option, a checkmark will appear in the box and the remaining options will be editable. Until you select this option, all options are disabled. Also, once you indicate that you will be saving mobile versions, any selected desktop deployment options will be deselected automatically.
  4. Use the buttons to the right of each icon / splash screen entry to upload your images.
  5. Ensure that your icon images have been exported with the following pixel dimensions:
  6. Ensure that your splash screen images have been exported with the following dimensions:

How it works...

Pointing the file-selection window to each specific icon and splash screen is easy work. If you attempt to upload an image that does not have the correct dimensions, LiveCode will present you with an error message. The files you select are embedded in your app's binary and are used when uploading it to the App Store.

There's more...

If you only enable one orientation, you will not be required to upload images to support the other orientation. For example, if your mobile app only supports the portrait orientation, you do not need to upload landscape splash screens.

See also

  • The Setting up your mobile environment for iOS development recipe
  • The Defining icons and images for Android development recipe