>>935
CGSize textSize = [_label.text sizeWithFont:_label.font];
UIGraphicsBeginImageContextWithOptions(_label.bounds.size, NO, 0);
[_label.backgroundColor setFill];
CGContextFillRect(UIGraphicsGetCurrentContext(), _label.bounds);
[_label.textColor setFill];
[_label.text drawAtPoint:CGPointMake(0, (_label.bounds.size.height - textSize.height) / 2) withFont:_label.font];
UIImage *goalImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();