Instance Property

userScripts

The user scripts associated with the user content controller.

Declaration

@property(nonatomic, readonly, copy) NSArray<WKUserScript *> *userScripts;

See Also

Adding and Removing User Scripts

- addUserScript:

Adds a user script.

- removeAllUserScripts

Removes all associated user scripts.

- removeScriptMessageHandlerForName:

Removes a script message handler.