Skip to content

How can I know if the Markdown View rendered over? #223

Answered by gonzalezreal
RHxW asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @RHxW,

There is currently no API in MarkdownUI to do that. But, since the only thing that the Markdown view loads asynchronously are images, you could replace the image-loading system with your own and track when the images are done loading.

See the markdownImageProvider(_:) and markdownInlineImageProvider(_:) modifiers.

Replies: 1 comment 1 reply

Comment options

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

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