Chapter 11. Rendering Web Pages

In this chapter, we will cover:

  • Opening a web page within Safari
  • Rendering a web page within an app
  • Navigating the browsing history
  • Rendering a local web page
  • Dynamically generating a local web page
  • Capturing a snapshot of a web page

Introduction

The web has become such an integral part of our lives that even iOS apps regularly use web browser technology to perform certain tasks. This chapter will explore the HTML capabilities of AIR for iOS; from simply launching a web page within Safari, to more integrated experiences where web content is rendered directly within the app itself.

We will primarily focus on the StageWebView class introduced in AIR 2.6. However, those using Flash Professional CS5 and AIR 2.0 will find the ...

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.