How can I know if the Markdown View rendered over? #223
-
| Is there some way to let the caller know when the Markdown view is completely loaded? | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            gonzalezreal
          
      
      
        Apr 16, 2023 
      
    
    Replies: 1 comment 1 reply
-
| 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  | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        gonzalezreal
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
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(_:)andmarkdownInlineImageProvider(_:)modifiers.