12. Adding Photos

The photo wheel view you created in Chapter 10, “Working with Views,” is ready to display photos, but the prototype app does not yet have a way to add photos. It’s time to change that. In this chapter, you will learn how to access photos managed by the Photos app, which is available on all iPads and iPhones. And you will add support for adding photos to the prototype app you have been building since Chapter 8, “Creating a Master-Detail App.”

Two Approaches

The iOS SDK provides two different approaches for third-party apps to retrieve photos and videos from the Photos app. The first is to use the Assets Library framework. The second is to use the image picker controller (UIImagePickerController). Which approach an app uses depends ...

Get Learning iPad Programming: A Hands-On Guide to Building iPad Apps with iOS 5 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.