[英]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.