You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatefunc redirectToHostApp(type:RedirectType){
// load group and app id from build info
loadIds();
leturl=URL(string:"SharingMedia-\(hostAppBundleIdentifier)://dataUrl=\(sharedKey)#\(type)")varresponder=selfasUIResponder?
while (responder !=nil){
if let application = responder as?UIApplication{
application.open(url!)}
responder = responder!.next
}
extensionContext!.completeRequest(returningItems:[], completionHandler:nil)}
Share extension stopped working for me after iOS version went to 18. The same code runs without any issues on the iOS < 18.
I don't get any errors in the console. When I want to share some file, I see the icon of my app, but when I click on it, nothing happens.
I found potential fix here https://stackoverflow.com/questions/79002378/ios-18-0-shared-extention-open-app-url-cant-work
What could be the problem?
The text was updated successfully, but these errors were encountered: