ObjC.reconnect
Open a fresh session after a restart or close.
js
ObjC.reconnect()Arguments
No arguments.
Returns
This client.
Example
js
const app = RemoteObjC.forApp("com.apple.Preferences");
app.reconnect();
const textClass = app.class("NSString");Notes
Start with Objective-C step by step. Also available on app = RemoteObjC.forApp(bundleId) as app.reconnect(). Old proxies/bindings remain invalid. Reacquire them.