經安全檢測,此網站為安全網站,請放心前往原始網址!

Programmatically Getting a Screencapture of any UIView | iPhone Programming Tutorials

Conclusion So that is it. You can use this general code to take a screenshot of any UIView subclass. All you need to do is replace webview.frame.size in the third line with foobar.frame.size where foobar is any UIView subclass. Hope this answered your que

www.icodeblog.com

網址安全性掃描由 google 提供