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 the setTorchModeOn parameter anywhere between 0 and 1 (maximum).
Published by rtking1993
I am a software architect, specialising in iOS applications. I enjoy creating and improving mobile apps that really make a difference to people. View all posts by rtking1993