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 ...

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.