Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
LiveCode Mobile Development Cookbook

You're reading from   LiveCode Mobile Development Cookbook 90 practical recipes for creating cross-platform mobile applications with the power of LiveCode

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher
ISBN-13 9781783558827
Length 256 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Dr. Edward Lavieri Jr. Dr. Edward Lavieri Jr.
Author Profile Icon Dr. Edward Lavieri Jr.
Dr. Edward Lavieri Jr.
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. LiveCode Mobile Basics FREE CHAPTER 2. Human-computer Interfaces 3. Loops and Timers 4. Managing Text 5. Communications 6. Data Structures 7. External Media 8. Using MobGUI 9. Using Animation Engine 10. Miscellaneous Index

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.
    How to do it...
  2. Click on the How to do it... icon in the top row of the Standalone Application Settings dialog box.
    How to do it...
  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.
    How to do it...
  4. Use the buttons to the right of each icon / splash screen entry to upload your images.
    How to do it...
  5. Ensure that your icon images have been exported with the following pixel dimensions:

    Icon

    Image size

    iPhone

    57 x 57

    Hi-Res iPhone

    114 x 114

    iOS 7 Hi-Res iPhone

    120 x 120

    iPad

    72 x 72

    Hi-Res iPad

    144 x 144

    iOS 7 iPad

    76 x 76

    iOS 7 Hi-Res iPad

    156 x 156

  6. Ensure that your splash screen images have been exported with the following dimensions:

    Splash screen

    Image size

    iPhone

    320 x 480

    Hi-Res iPhone

    640 x 960

    4 Inch iPhone

    640 x 1136

    iPad Portrait

    768 x 1024

    iPad Landscape

    1024 x 768

    Hi-Res iPad Portrait

    1536 x 2048

    Hi-Res iPad Landscape

    2048 x 1536

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
You have been reading a chapter from
LiveCode Mobile Development Cookbook
Published in: Sep 2014
Publisher:
ISBN-13: 9781783558827
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime