- (void)drawRect:(CGRect)rect {
CGContextRef context = UIGraphicsGetCurrentContext();
CGContextSelectFont(context, "Arial", 24, kCGEncodingMacRoman);
CGContextShowTextAtPoint(context, 80, 80, "I am Rahul", 7);
}
Estoy tratando de dibujar texto como se muestra arriba "Estoy Rahul" pero cuando ejecuto el código,
de texto recibe se muestra, pero se invierte, por lo que está sucediendo, no estoy recibiendo !! ¡¡ayuda!!dibujar texto usando CGContextShowTextAtPoint pero el texto mostrado es invertida,
posible duplicado de [Cómo rotar texto dibujado por cuarzo en el iPhone] (http://stackoverflow.com/ preguntas/1899775/how-to-rotate-text-drawn-by-quartz-on-iphone) – kennytm