How to create an image from UILabel?
I'm currently developing a simple photoshop like application on iphone. When I want to flatten my layers, the labels are at the good position but with a bad font size. Here's my code to flatten : UIGraphicsBeginImageContext(CGSizeMake(widthDocument,widthDocument)); for (UILabel *label in arrayLabel) { [label drawTextInRect:label.frame]; } UIImage *image = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); Anybody can help me ? DJPlayer From: pulling an UIImage from a UITextView or UILabel gives white image . // iOS - (UIImage *)grabImage { // Create a "canvas" (image