[英]How do I detect if my iOS device has an LED light or not?
如何检测我的 iOS 设备是否有 LED 灯?
我正在尝试查看 iPad 2(前后摄像头)和 iPhone 4(前、后 + LED 灯)之间的区别
那些应该提供您需要的信息。
[[UIDevice currentDevice] model];
[[UIDevice currentDevice] systemVersion];
[[UIDevice currentDevice] systemName];
当您了解设备时,您就知道它是否有 LED 灯。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.