I am working on an ipad application in which I am trying to render an image with multiple text label. I am drawing the text on context using drawRect method.
I want an output something like shown in figure below:
but I am getting an output like shown in figure below
Any help greatly appreciated.
Thanks
Taken from Here.
Basically you set the text matrix to a custom transform matrix and then draw. You may want to do a
CGContextSaveprior to transforming and aCGContextRestorewhen finished drawing the text.