O'Reilly logo

Beginning iPhone Development, Seventh Edition by Jeff LaMarche, Fredrik Olsson, Kim Topley, Jack Nutting, David Mark

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

Chapter    21

The Camera and Photo Library

By now, it should come as no surprise to you that the iPhone, iPad, and iPod touch have a built-in camera and a nifty application called Photos to help you manage all those awesome pictures and videos you’ve taken. What you may not know is that your programs can use the built-in camera to take pictures. Your applications can also allow the user to select from among and view the media already stored on the device. We’ll look at both of these abilities in this chapter.

Using the Image Picker and UIImagePickerController

Because of the way iOS applications are sandboxed, applications ordinarily can’t get access to photographs or other data that live outside their own sandboxes. Fortunately, both the camera ...

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