Drawing string in custom UITableViewCell
I am setting up the drawing text in a custom UITableViewCell, but I struggle to line up the line to emphasize the 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 is being called, nothing is drawn. I am probably doing something stupid, but I cannot figure out what it is.
+2
source to share