O'Reilly logo

The Complete Idiot's Guide® To iPad and iPhone App Development by Troy Brant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Web Views

Web views make it extraordinarily easy to display web pages inside your application. In code, web views are implemented via the UIWebView class. You can register for the UIWebViewDelegate protocol to be notified when certain events happen, such as a URL loading successfully or stopping with an error. In this sample application, you will add a UIWebView to your interface and use the UIWebViewDelegate to know when it finishes loading a URL.
220
Web views are used to display a website without making the user leave the app.
One word of warning on web views: they can use quite a bit of memory. If you use a web view in your application, make ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required