【发布时间】:2010-11-16 13:03:00
【问题描述】:
我正在我的应用程序中截取屏幕截图。我可以截图了。
现在我想通过指定 x 和 y 坐标来截取屏幕截图。这可能吗?
UIGraphicsBeginImageContext( self.view.bounds.size );
[self.view.layer renderInContext:UIGraphicsGetCurrentContext( )];
UIImage* aImage = UIGraphicsGetImageFromCurrentImageContext( );
【问题讨论】:
标签: iphone iphone-sdk-3.0