I have a UIView that has an image and some buttons as its subviews. I\'d like to get a \"snapshot\" image of it using renderInContext, or other met
UIView
renderInContext
Try something like this:
UIGraphicsBeginImageContext(clefView.bounds.size); [clefView.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *resultingImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext();