Chapter 16. iPhone Camera and Photo Library

By now, it should come as no surprise to you that the iPhone has a built-in camera (which the iPod Touch unfortunately lacks) and a nifty application called Photos to help you manage all those awesome pictures you've taken. What you may not know is that your programs can use the built-in camera to take pictures and that your programs can also allow the user to select pictures from among the photos already on the iPhone.

Because of the way iPhone applications are sandboxed, applications ordinarily can't get to photographs or other data that lives outside of their own sand-boxes. Fortunately, both the camera and the image library are made available to your application by way of an image picker. As the name ...

Get Beginning iPhone Development: Exploring the iPhone SDK now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.