Post

Replies

Boosts

Views

Activity

Reply to iOS 18 ShareExtension openURL:
@Tyler_one If you really need it, the updated version is the following. But as Eskimo mentioned, it's still not as Apple intended and is a hack. UIResponder* responder = self; while (responder) { if ([responder respondsToSelector:@selector(openURL:options:completionHandler:)] && [responder isMemberOfClass:[UIApplication class]]) { [((UIApplication *)responder) openURL:yourURL options:@{} completionHandler:nil]; } responder = [responder nextResponder]; }
Dec ’24