ObjC.hasClass
Check whether a class is loaded.
js
ObjC.hasClass(name)Arguments
| Argument | Type | Meaning |
|---|---|---|
name | string | Class name. |
Returns
Boolean.
Example
js
console.log(ObjC.hasClass("NSString"));Notes
Start with Objective-C step by step. Also available on app = RemoteObjC.forApp(bundleId) as app.hasClass().