How can I detect "LED Flash for Alerts" (from Settings) status in code? I have tried:
AVCaptureDevice *torched=[AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeVideo];
BOOL test = torched.torchMode;
BOOL test1 = torched.flashMode;
But it seams that it is not what I need.