问题描述
您好,我想知道是否可以从iphone摄像头获取UIIMAGE参考,我按下takepicture按钮。我不想在访问图像之前按下委托方法的使用按钮。
Hello all I wanted to know if it is possible to get the UIIMAGE reference from the iphone camera after I press the takepicture button. I don't want to have to press on the use button for the delegate method to be called before I can access the image.
这样做的一种方法是复制无论什么时候屏幕上的时间,但问题是,我有一个重叠的视图,所以我得到的图像与框架。
One way of doing that is by copying whatever is on the screen at that time but the problem is that I have a overlayed view so am getting the image with the frame.
任何想法任何人?
推荐答案
基本上如果我们调用showcameracontrols = no,调用图片时调用委托方法调用。如果不是,那么当按下使用按钮时调用委托方法。 T
Basically if we call the showcameracontrols = no , the delegate method for grabbing the image gets called as soon as the picture is called. If not,then the delegate method is called when the use button is pressed. T
这篇关于Iphone从takepicture方法调用时从相机抓取图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!