Swift - How to tell if Torch is on through control center

ساخت وبلاگ

آخرین مطالب

امکانات وب

Vote count: 0

In my app, I want to check if the torch/flashlight of the iPhone is on or off. I know how to set up an AVCaptureSession and all that, but that doesn't give me the information I really want to know. I want to know whether, at the time of the code being called, the phone's torch is on or off from control center.

asked 45 secs ago
Brayden Gogis

نویسنده : استخدام کار بازدید : 32 تاريخ : دوشنبه 21 خرداد 1397 ساعت: 0:00

تبلیغات در اینترنت