The camera

There are different ways of using the camera, but what you really need to ask yourself is whether you need to use the camera's basic features or do you need to use some low-level features.

Low-level features might be used with the AVFoundation framework, which you are going to learn about in Chapter 8, AVFoundation. However, for this app, we don't need such features, so we can develop it faster using UIImagePickerController. This controller allows us to use the camera and the camera roll, and it also allows us to customize the layout.

Get Swift 2 Blueprints 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.