I'm writing an iOS app, and I need to be able to detect if the device has a camera. Previously, I would check if the device is an iPhone or not, since only the iPhone has a camera - but with the ...
Я хочу включить режим фонарика AVCaptureTorchModeOn в своем приложении во время записи видео. Я использую приведенный ниже код. -(void)set_TorchMode:(BOOL)включить
{ AVCaptureDevice *theDevice = [AVCaptureDevice ...