Question

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)

Was it helpful?

OTHER TIPS

Those should give information you needed.

[[UIDevice currentDevice] model];
[[UIDevice currentDevice] systemVersion];
[[UIDevice currentDevice] systemName];

When you know the device you know if it has a LED light or not.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top