VFR Reader detect when page did rendered

166 Views Asked by At

I'm using vfrReader and I found that drawLayer:inContext in ReaderContentPage.m called multiple times during rendering. Is it possible to catch page did rendered event?

1

There are 1 best solutions below

9
AudioBubble On

If you are willing to modify the vfrReader source, you can post an event after the CGContextDrawPDFPage call in the drawLayer:inContext: method. The CGContextDrawPDFPage function is synchronous, so the post is guaranteed to be called after the page in question has rendered.