Tutorials for using AIR Native Extensions in your Adobe AIR applications
AIR native extensions are available here
This content is deprecated. See the latest version of this site as part of the main documentation site
This content is deprecated. See the latest version of this tutorial here
From iOS 13 Apple now requires a new process of adding launch / splash screens to your application, you can no longer simply package the “default.png” images in your application you have done with previous versions of iOS and AIR.
Note: Apple will soon enforce launch screens with the iOS 13 requirement so this will be a prerequisite for publishing in the AppStore
This guide shows how to create the launch storyboard directly in Xcode.
Contents:
This simple method uses a prebuilt storyboard which pulls an image from your Assets.car
and fill the screen keeping the aspect ratio (your image may be cropped on some devices depending on the resolution).
We have included these instructions as part of the Icons, Launch Storyboards and the Assets Catalog guide.
Using Xcode
Note: You will need a macOS machine with Xcode 9+ for this method to generate the
Assets.car
file
As this process is tightly integrated with generating the Assets.car
(asset catalog) containing your application icons, we will go through adding the icons first.
Firstly you will need to open Xcode and create a new application
Assets.xcassets
fileAppIcon
Now you have added the application icons we move onto adding the launch storyboard. For this we have included 2 guides:
Firstly we need to add the image resource to your asset catalog.
Assets.xcassets
fileAppIcon
and select New Image Set:LaunchIcon
LaunchScreen.storyboard
in the left hand panel:cmd - shift - L
, then find the Image View and add it to your view:Reference:
https://medium.com/flawless-app-stories/change-splash-screen-in-ios-app-for-dummies-the-better-way-e385327219e
Assets.car
LaunchScreen.storyboardc
LaunchScreen.storyboardc
is a directory but will appear as a “file” (package) on macOS
Once you have completed your storyboard and added the application icons you can add these to your AIR applicaiton.
Copy Assets.car
and LaunchScreen.storyboardc
and package with AIR application at the root level of your application.
Add the following to your info additions in your application descriptor:
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
i.e.:
<iPhone>
<InfoAdditions><![CDATA[
<!-- ... -->
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
]]></InfoAdditions>
</iPhone>