takepicture()vs UIGetScreenImage() [英] takepicture() vs UIGetScreenImage()

查看:87
本文介绍了takepicture()vs UIGetScreenImage()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为我们的研究小组正在为iPhone工作的项目构建一个 QRCodeReader 。经过大量研究后,我发现该程序名为 QuickMark 。该程序自动扫描QRCodes。它似乎做的是加载 UIImagePicker 并从相机中读取数据。我怀疑它正在使用 UIGetScreenImage 并从相机中截取并解码它。

I'm trying to build a QRCodeReader for a project our research group is working on for the iPhone. After much research I found the program called QuickMark. This program scans automatically for QRCodes. What it appears to do is load the UIImagePicker and read off data from the camera. I suspect it is using UIGetScreenImage and taking a screenshot from the camera and decoding it.

现在我尝试使用来自3.1 iPhone API的新 takepicture()方法,但似乎无法做到以上所做的事情,即每隔一秒左右拍摄照片,默默无闻。现在我听说 UIGetScreenImage 可能不合法,如果他们使用它,Apple会转身并拒绝访问你的应用程序。所以,我的问题是:

Now I tried using the new takepicture() method from the 3.1 iPhone API but that seems not to be able to do what the above does which is take photos every second or so, silently. Now I had heard that UIGetScreenImage is perhaps not legal and that Apple will turn around and deny access to your App if they use it. So, my questions are:

a)使用<$ c $ Quickmark (或任何其他允许的应用) c> UIGetScreenImage()如果是,那是否合法,

a) Is Quickmark (or any other allowed app) using UIGetScreenImage() and if so, is it legal and,

b)是否可以 takepicture ()做同样事情的方法?

b) would it be possible for takepicture() method to do the same sort of thing?

推荐答案

RedLaser肯定在使用UIGetScreenImage() 。快速浏览一下库中的符号就可以确认它。

RedLaser is definitely using UIGetScreenImage(). A quick glance at the symbols in their library confirms it.

这篇关于takepicture()vs UIGetScreenImage()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆