|
|
|
|
|
by bradyriddle
441 days ago
|
|
Man, this is gonna reveal some ignorance. But here goes. Please correct me where I'm wrong .so/.dylib/.dll's typically get linked at load time, right? Like we aren't all manually loading dylibs in our source code. I guess I'm surprised on a platform as locked down as ios that they even allow you to link anything at run time. chatgpt gives me this snippet but I have no way of knowing if this is roughly how it would look. Class SBApplication = objc_getClass("SBApplication"); SEL launchSel = sel_registerName("launch"); id app = [SBApplication getAppWithBundleID:@"com.example.app"]; objc_msgSend(app, launchSel); |
|