Iphone – draw text using coregraphics in iphone

core-graphicsiphonetext;

How to draw text on imageview using coregraphics in iphone

Best Answer

Either use a UILabel over your imageView or draw a string in the current graphics context with

- (CGSize)drawInRect:(CGRect)rect withFont:(UIFont *)font lineBreakMode:(UILineBreakMode)lineBreakMode