Returns whether a selector should be hidden from the scripting environment.
SDK
- macOS 10.4+
Framework
- Web
Kit
Declaration
+ (BOOL)isSelectorExcludedFromWebScript:(SEL)selector;
Parameters
aSelector
The selector.
Return Value
YES
if the selector specified by a
should be hidden from the scripting environment; otherwise, NO
.
Discussion
Only methods with valid parameters and return types are exported to the WebKit JavaScript environment. The valid types are Objective-C objects and scalars. The default value is YES
.