开发者

Is there a function that triggers UIImagePickerController to take a photo?

开发者 https://www.devze.com 2022-12-12 20:09 出处:网络
I would like to trigger the camera with a non-standard button. What function do I call to tri开发者_如何学编程gger the camera?When you use the Overlay viewproperty of theUIImagePickerController to sp

I would like to trigger the camera with a non-standard button.

What function do I call to tri开发者_如何学编程gger the camera?


When you use the Overlay view property of the UIImagePickerController to specify your own view, you can use the -takePicture method to trigger the camera to take a picture here is a reference, hope it helps

0

精彩评论

暂无评论...
验证码 换一张
取 消