标签:
可用以下代码:
UIGraphicsBeginImageContextWithOptions(size, opaque, scale); // code [view drawViewHierarchyInRect:rect afterScreenUpdates:YesOrNo]; UIImage *image=UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext();
iOS开发总结(A0)- Create UIImge based on UIView
标签:
原文地址:http://www.cnblogs.com/beddup/p/4621579.html