Type Safely

Type Safely

Set the Brightness of the Flashlight on the Back of Every iPhone

Daily Coding Tip 233

Type Safely's avatar
Type Safely
Jan 19, 2023
∙ Paid
white and blue light bulb
Photo by Marina Grynykha on Unsplash

The iPhone flashlight was originally only used for photography.

Many apps appeared on the App Store that provided direct control of the flashlight, using the same AVFoundation API that is used to control the camera. In iOS 7 these apps were effectively sherlocked, as the new Control Centre had a flashlight button. Jai…

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture