The Camera and Photo Gallery. Chapter 20 of the iOS5 Beginner's Book.