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

Configuring standalone application settings for iOS applications

There are several configuration settings to be considered when creating an iOS application. These settings are entered and recorded via the Standalone Application Settings dialog window. The dialog window is organized into seven sections: basic application settings, status bar, orientation options, requirements and restrictions, icons, splash screens, and custom URL scheme. This recipe addresses each setting with the exception of icons and splash screens, which are covered in other recipes in this book.

How to do it...

To configure standalone application settings for iOS applications, follow the given steps:

  1. Select the Standalone Application Settings... option from the File drop-down menu.
    How to do it...
  2. In the top section of the dialog window, ensure that the checkbox labeled iOS (see the following screenshot) is checked.
    How to do it...
  3. Referring to the previous screenshot, select which device(s) your app will support. Your options are iPod, iPhone and iPad, iPod and iPhone, and iPad.
  4. Referring to the previous screenshot again, select the minimum operating system that the target device(s) must have. At the time of writing this book, the options are as follows:
    • 4.3 or later
    • 5.0 or later
    • 5.1 or later
    • 6.0 or later
    • 6.1 or later
    • 7.0 or later
    • 7.1 or later

    Note

    Selecting earlier iOS versions will expand your potential target audience, while selecting later iOS versions will restrict a portion of your audience pool but will give you access to advanced features and functions.

  5. Using the following screenshot as a reference, configure the settings on the Basic Application Settings page:
    How to do it...

    The settings are explained as follows:

    • Display Name: This is what is displayed on the SpringBoard (also referred to as the home screen) under the app's icon.
    • Version: Your app's version number.
    • Internal App ID: This is a universal and unique identifier that must match what you entered when you established the app's App ID in the Apple Developer portal. The format is com.company.appname.
    • Profile: Select the provisioning profile you downloaded from the Apple Developer portal.
    • Externals: Select any of the LiveCode externals (revZip, revXML, SQLite, MySQL, PDF Printing, and Encryption) based on the externals that your app requires.
  6. Using the following screenshot as a reference, configure the settings on the Status Bar page:
    How to do it...

    The settings are explained as follows:

    • iPhone Status Bar: You can have the status bar visible or hidden
    • iPad Status Bar: You can have the status bar visible or hidden
    • Status Bar Style: Your options here are Default, Black Opaque, and Black Translucent
  7. Using the following screenshot as a reference, configure the settings on the Orientation Options page:
    How to do it...

    The settings are explained as follows:

    • iPhone Initial Orientation: You can select Portrait, Portrait Upside-Down, Landscape Left, or Landscape Right as the orientation for your app to display
    • iPad Supported Initial Orientations: Here, you have the same selections as the previous setting, but you are able to select any/all of the orientations
  8. Using the following screenshot as a reference, configure the Requirements and Restrictions settings:
    How to do it...

    The settings are explained as follows:

    • Select whether or not your app requires persistent Wi-Fi connectivity
    • Select whether or not your app requires iTunes' File Sharing feature to be enabled
    • Select whether or not your app can receive push notifications
  9. Select Required, Prohibited, or n/a for each of the options shown in the following screenshot. Selecting Required for a function or feature means that that function or feature must be present in order for the app to launch. Selecting Prohibited means that if that function or feature is present, the app will not get launched.
    How to do it...
  10. Enter, if applicable, the name of your URL scheme that was used to uniquely reference your app. Custom URL schemes can be used to enable apps to communicate with one another in order to provide services. More information on this concept can be found in Apple's iOS Developer Library.
    How to do it...

How it works...

Using the Standalone Application Settings dialog window, we can configure a large number of settings that are relevant to our mobile application.

See also

  • The Defining icons and images for iOS development recipe
  • The Configuring standalone application settings for Android applications 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