Launching system applications
On occasions you may want your app to provide functionality that is already available from iOS's system applications. To guarantee a consistent and familiar experience, it is possible to launch certain system apps rather than performing the task internally within your own. To enable this, iOS supports various URI schemes which can be used to launch a specific application.
In this recipe, you will learn how to use the mailto
URI scheme to open and send e-mail from the Mail application.
Getting ready
From the book's accompanying code bundle, load chapter13\recipe6\recipe.fla
into Flash Professional and use it as a starting point.
Sitting on its stage is a button with an instance name of mailBtn
. When pressed, it will launch ...
Get Flash iOS Apps Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.