Removes all associated user scripts.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
Framework
- Web
Kit
Declaration
func removeAllUserScripts()
Removes all associated user scripts.
SDKs
Framework
func removeAllUserScripts()
func add User Script(WKUser Script)
Adds a user script.
func remove Script Message Handler(for Name: String)
Removes a script message handler.
var user Scripts: [WKUser Script]
The user scripts associated with the user content controller.