How do I detect if my iOS device has an LED light or not?
-
26-10-2019 - |
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)
Solution
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