Chapter    13

Lights, Camera, and Action

Every new mobile device has a camera; in fact, in many cases, a device has two of them and is used more as a camera than an actual camera is. It is important to note that cameras are an essential part of the iOS device family. In this chapter, you will explore the functionalities of light, camera, and action—in that order.

Lights

When a light-emitting diode (LED) flash was added to the iPhone, the first thing a lot of developers did was make flashlight and strobe applications. The store was full of them. At the time, Apple did not have APIs that provided access to the flash. However, now AVFoundation has integrated functionality for accessing the flash. To use the LED flash, the first thing you need to ...

Get More iPhone Development with Objective-C now with the O’Reilly learning platform.

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