Search code examples
iphoneobjective-cxcodesdkled

How do I detect if my iOS device has an LED light or not?


How do I detect if my iOS device has an LED light or not?

I am trying to see the difference between an iPad 2 (front and back camera) and an iPhone 4 (front, back + LED light)


Solution

  • Turn on torch/flash on iPhone