open the keybard app on iOS 26 without full access
I am trying to open the keyboard app on iOS using the following method:
(void)actionForGotoHostAppWithURL:(NSURL *)url {
UIResponder *responder = self;
do {
if ([responder respondsToSelector:@selector(openURL:options:completionHandler:)] && [responder isKindOfClass:[UIApplication class]]) {
[responder performSelector:@selector(openURL:options:completionHandler:) withObject:url withObject:nil];
break;
}
} while ((responder = [responder nextResponder]) != nil);
}
While this works with older iOS versions, I am getting the following error with iOS 26:
Error Domain=NSOSStatusErrorDomain Code=-54 "(null)" UserInfo={_LSFile=LSOpenOperation.mm, _LSLine=835, _LSFunction=_LSIsRequestAllowed}
What is the new method for doing that?