1

I have a torchlight option in my iPhone app. This is working fine. I am using UIImagePickerController(Camera Mode) to take photographs. I can turn on the torch light before staring the camera, however when I dismiss the camera the torchlight also gets switched off. Does the torchlight work only in camera/video mode?

Ken Y-N
  • 14,644
  • 21
  • 71
  • 114
Yuvaraj.M
  • 9,741
  • 16
  • 71
  • 100
  • check this http://stackoverflow.com/a/3367424/919545 – Ankit Srivastava Dec 20 '11 at 12:47
  • @AnkitSrivastava thanks for your answer. In my app when the user select the Torch button the torch light getting switched off. But, if the user came from Camera mode the Torch light automatically switched off. Is this right or wrong. Please help me. Thanks. – Yuvaraj.M Dec 20 '11 at 12:53

0 Answers0