takepicture() vs UIGetScreenImage()

馋奶兔 提交于 2019-11-29 10:52:00

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

"Legal" is a really vague term, but I think what you mean is would the app get denied. There is a laundry list of things that could cause app denial, but one of the grayest of gray areas is the use of private headers. Google got away with it in their search app, but the internet was ablaze in fury for a few months while people wrote very sternly worded blog entrys. Bottom line, you can do whatever you want, but if you get caught, good luck to you.

The APIs pretty much work the way they work, it should be simple enough to loop a call to takepicture with a NSTimer just be careful with how you do it, seems like a heavy handed process to me.

You will get your app rejected for using UIGetScreenImage().

My app was rejected (today) for using this call. :( I'm searching for a new solution as I type ...

http://www.redlaser.com/SDK.aspx

Here they are hinting at having used this function, with reference to this page.

Something should be updated now ?

UIGetScreenImage should be legal now.

There is a way to capture video data from camera without using UIImagePickerController or UIGetScreenImage().
It is available since iOS 4.0 in AVFoundation Framework. see here how.

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