/ Published in: Objective C
Expand |
Embed | Plain Text
UIGraphicsBeginImageContext(srcView.bounds.size); [srcView.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); UIImageView* proxy = [[UIImageView alloc] initWithImage:viewImage];
You need to login to post a comment.
