AVCaptureDevice *device = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeVideo];

if([device hasTorch])

{

...

}



http://stackoverflow.com/questions/15247175/how-to-find-out-camera-flash-is-available-in-iphone

Posted by tenn
,