didChangeTabProperties(_:for:)
Should be called by the app when the properties of a tab are changed to fire appropriate events with all loaded web extensions.
Declaration
func didChangeTabProperties(_ properties: WKWebExtension.TabChangedProperties, for changedTab: any WKWebExtensionTab)Parameters
- properties:
The properties of the tab that were changed.
- changedTab:
The tab whose properties were changed.
Discussion
This method informs all loaded extensions of changes to tab properties, ensuring a unified understanding across extensions.
If the intention is to inform only a specific extension, you should use the respective method on that extension’s context instead.