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

Adding Bookmarks

Browser is about to get a serious upgrade. To add the bookmark functionality, you will add the interface elements—toolbars, buttons, spinner—in Interface Builder, then add the code to launch the bookmark list in an action sheet.

Updating the Interface

The first step to adding bookmarks is to update the interface. Follow these steps:
1. In Interface Builder, click and drag a Toolbar to the bottom of your interface using the Library > Cocoa Touch > Windows, Views & Bars filter in the library window.
2. The toolbar is now covering up the bottom part of the web view. To make sure web content doesn’t get clipped at the bottom, select the web view and drag its bottom border up until it is flush with the top of the toolbar.
3. The ...

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