Supporting multiple resolutions

The launch of the iPad led to developers having to support two different physical screen sizes and resolutions. This was exacerbated by the introduction of the Retina display for iPhone and iPod touch, where screen resolutions were no longer guaranteed to be identical across the same device type.

When targeting multiple device types and models, it is important that your app can adapt its layout to different screen resolutions.

Let us walk through a simple example that creates a universal app that supports the various portrait resolutions used by the iPhone, iPod touch, and iPad.

Getting ready

An FLA containing graphics has been provided in the book's accompanying code bundle for you to work from.

Open chapter8\recipe3\recipe.fla ...

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.