Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用vfrReader,我发现drawLayer:inContext在ReaderContentPage.m渲染过程中多次调用它。是否可以捕获页面渲染事件?
drawLayer:inContext
ReaderContentPage.m
如果您愿意修改 vfrReader 源,可以CGContextDrawPDFPage在方法中调用后发布事件drawLayer:inContext:。该CGContextDrawPDFPage函数是同步的,因此可以保证在相关页面呈现后调用该帖子。
CGContextDrawPDFPage
drawLayer:inContext: