PDF Highlighting above image / below text
问题 i'm trying to highlight text in a pdf, and have the highlighted rectangle to be drawn under the text. It works fine on most PDF's, but I jumped into a problem when the text I'm trying to highlight has an image/background under it. The problem is that the highlight rectangle is drawn under the image as well, so it is not visible. The drawing order I have is this: draw a blank rectangle with the page size draw the highlight draw the pdf using CGContextDrawPDFPage(context, page); Is there a way