开发者

Capture screen on iphone as UIImage?

开发者 https://www.devze.com 2023-01-04 22:54 出处:网络
I have been reading about how to capture the current screen of the iPhone in code and get it as开发者_如何转开发 a UIImage. From what I have understood Apple now allow us to use UIGetScreenImage(void)

I have been reading about how to capture the current screen of the iPhone in code and get it as开发者_如何转开发 a UIImage. From what I have understood Apple now allow us to use UIGetScreenImage(void) also when submitting apps to App Store, is that right? Is this the way to go or is there a new better way of capture the screen?

Thanks!


UIGetScreenImage() is not allowed anymore, use AVCaptureDevice instead.


I do not agree with iwat:

UIGetScreenImage() is working. Please follow the Link.

0

精彩评论

暂无评论...
验证码 换一张
取 消