Skip to content
iOS Cookbook

iOS Cookbook

Cooking with swift

  • Home
  • About
  • Contact

Tag: torch

Code snippet: Using AVCaptureDevice to access Torch

Every iOS device has the ability to be used as a torch. Developers have access to use this torch through AVCaptureDevice. You can copy this function into your app and using the setTorch boolean parameter, you can switch it on and off. You can also adjust the level of intensity on the torch by adjusting … Continue reading Code snippet: Using AVCaptureDevice to access Torch

February 13, 2019February 12, 2019flash, iOS, torchLeave a comment

Follow Ryan

  • GitHub
  • LinkedIn
  • Twitter
  • Facebook
Create a website or blog at WordPress.com