Request access for camera in Objective-C

前端 未结 0 1189
無奈伤痛
無奈伤痛 2020-12-03 21:17

I have this objective-c code taken from this answer to request camera usage on iOS.

[AVCaptureDevice requestAccessForMediaType:mediaType completionHandler:^(B         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题