Tag Archives: torch

Yet another torch – using AVFoundation to light things up

Very small example this time. Let’s build our own flashlight application. We’ll see how AVFoundation framework could help us in this task.

Again, we’ll not focus on UI in this example. So, we’ll have simple layout: torch selector (with the help of UISegmentedControl), torch level selector (that would be UISlider) and “off” button.
Continue reading