Iphone Grab picture from camera when takepicture method called

一个人想着一个人 提交于 2019-12-13 04:02:58

问题


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.

Any ideas anyone?


回答1:


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



来源:https://stackoverflow.com/questions/6932924/iphone-grab-picture-from-camera-when-takepicture-method-called

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!