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)
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)
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.