[英]How to disable/Hide the UIImagePickerController Camera shutter in iPhone app?
I searched lot in google and tried my level best but, still i cant fix this issue. 我在Google上进行了大量搜索,并尝试了自己的最佳水平,但仍然无法解决此问题。 I want to disable or hide the
UIImagePickerController
Camera shutter when it is opening. 我想在打开时禁用或隐藏
UIImagePickerController
相机快门。 I searched in google and got advice to use AVCaptureSession
. 我在Google中搜索并获得了使用
AVCaptureSession
建议。 But, in my app i used CustomOverlayView
in UIImagePickerController
Camera with some buttons. 但是,在我的应用中,我使用了
UIImagePickerController
Camera中的CustomOverlayView
和一些按钮。 In this case i want to disable or stop to show the Apple's Camera shutter. 在这种情况下,我想禁用或停止显示Apple的相机快门。 Simply the user won't to see the camera shutter when they pick the Camera
UIImagePickerController
. 只是,当用户选择Camera
UIImagePickerController
时,不会看到相机快门。 How can i do this? 我怎样才能做到这一点? Can you please help me to solve this problem.
您能帮我解决这个问题吗? Thanks in advance.
提前致谢。
I have seen some apps cover it up with their overlay, but you can't remove it. 我见过一些应用程序用其覆盖层覆盖它,但是您无法删除它。 AVCaptureSession really does sound more appropriate for your purposes.
AVCaptureSession确实听起来更适合您的目的。 I see one example here:
我在这里看到一个例子:
http://www.musicalgeometry.com/?p=1273 http://www.musicalgeometry.com/?p=1273
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.