Reputation: 10185
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?
Upvotes: 2
Views: 164
Reputation:
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.
Upvotes: 0