/ Published in: Objective C

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
UIGraphicsBeginImageContext(srcView.bounds.size); [srcView.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); UIImageView* proxy = [[UIImageView alloc] initWithImage:viewImage];
Comments
