I am custom drawing text into a custom UITableViewCell, but am struggling in working out how to draw a line to underline text.
I am currently trying to do the following:
CGContextMoveToPoint(context, pt.x, pt.y+sz.height);
CGContextAddLineToPoint(context, pt.x+sz.width, pt.y+sz.height);
but although the code gets called, nothing is actually drawn. I guess I am doing something silly, but I can't work out what it is.