简体   繁体   English

iPhone相机快门问题

[英]IPhone Camera Shutter issue

basically I am trying to use the camera function but want to be able to upload a picture once the camera button is pressed without touching the use button. 基本上,我正在尝试使用相机功能,但是希望能够在按下相机按钮后不触摸使用按钮的情况下上传照片。

Therefore the delegate camera method never gets called. 因此,永远不会调用委托照相机方法。 I am however trying to capture the screen using the following method to get the image: 但是,我试图使用以下方法捕获屏幕以获取图像:

UIGetScreenImage() UIGetScreenImage()

This seems unorthodox but does the trick. 这似乎是非常规的,但却可以解决问题。 My issue comes with the fact that sometimes, I get the shutter image. 我的问题是有时我会得到快门图像。 Is there delegate method called when the shutter animation is complete? 快门动画完成时是否调用了委托方法?

If so, any help is more than welcomed. 如果是这样,欢迎提供任何帮助。 Thanks. 谢谢。

使用Brad Larson的stillCamera https://github.com/BradLarson/GPUImage

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM