afterScreenUpdates property

bool afterScreenUpdates
getter/setter pair

A Boolean value that indicates whether to take the snapshot after incorporating any pending screen updates. The default value of this property is true, which causes the web view to incorporate any recent changes to the view’s content and then generate the snapshot. If you change the value to false, the WebView takes the snapshot immediately, and before incorporating any new changes.

Officially Supported Platforms/Implementations:

  • iOS 13.0+
  • MacOS 10.15+

Implementation

bool afterScreenUpdates;