当调用 takepicture 方法时,iPhone 从相机中抓取照片
大家好,我想知道按下拍照按钮后是否可以从 iPhone 相机获取 UIIMAGE 参考。我不想在访问图像之前必须按下使用按钮来调用委托方法。
一种方法是复制当时屏幕上的任何内容,但问题是我有一个重叠视图,因此我正在获取带有框架的图像。
有人有什么想法吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
基本上,如果我们调用 showcameracontrols = no ,则一旦调用图片,就会调用用于抓取图像的委托方法。如果没有,则按下使用按钮时将调用委托方法。时间
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