Skip to content
Discussion options

You must be logged in to vote

PAGView 渲染的过程中,需要确保渲染环境是 OK 的, 如果 PAGView 的尺寸为0, 或者没有被 attach, 此时都不会触发真正渲染。另外 flush 方法是有返回值的,如果切换了 PAGFile,看下这里的返回值是 true 还是 false,如果是首帧渲染且 fush 返回是 false,就是没有渲染成功

你这边遇到的问题应该是某些边界条件没有处理好,可以基于 pag 的官方 demo 构造下复现场景

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@JiaqiSun
Comment options

Comment options

You must be logged in to vote
1 reply
@JiaqiSun
Comment options

Answer selected by kevingpqi123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants