Browser App

An app this simple deserves a simple name. The Browser app will have only one view, a UIWebView, that will load a web page of your choosing. Over the course of the chapter, you will add more functionality, but for now, you get to start with something easy.

Interface Challenge

To get started, follow these steps:
1. Create a new View-based Application and name it “Browser.”
2. Open BrowserViewController.xib, and set the background color to white.
3. Add a web view using the Library > Cocoa Touch > Data Views filter in the library window. Position it so it takes up the entire view.
4. With the web view selected, check Scale Page to Fit in the Attributes tab of the inspector window. By default, the web page is rendered without any ...

Get The Complete Idiot's Guide® To iPad and iPhone App Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.