Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
iOSデバイスにLEDライトがあるかどうかを検出するにはどうすればよいですか?
iPad 2(前面と背面のカメラ)とiPhone 4(前面、背面+ LEDライト)の違いを確認しようとしています
iPhoneでトーチ/フラッシュをオンにする
それらはあなたが必要とする情報を与えるべきです。
[[UIDevice currentDevice] model]; [[UIDevice currentDevice] systemVersion]; [[UIDevice currentDevice] systemName];
デバイスを知っていると、LEDライトがあるかどうかがわかります。