Removes a script message handler.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
Framework
- Web
Kit
Declaration
- (void)removeScriptMessageHandlerForName:(NSString *)name;
Parameters
name
The name of the message handler to remove.
Removes a script message handler.
SDKs
Framework
- (void)removeScriptMessageHandlerForName:(NSString *)name;
name
The name of the message handler to remove.
- add User Script:
Adds a user script.
- remove All User Scripts
Removes all associated user scripts.
user Scripts
The user scripts associated with the user content controller.