|
@@ -93,6 +93,11 @@
|
|
|
[self.window makeKeyAndVisible];
|
|
|
|
|
|
ksharedAppDelegate.window = self.window;
|
|
|
+
|
|
|
+ //冷启动
|
|
|
+ if(connectionOptions.URLContexts != nil){
|
|
|
+ [self scene:scene openURLContexts:connectionOptions.URLContexts];
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -447,9 +452,11 @@
|
|
|
[self delayedHandlShareAwakenAppBy:curStr];
|
|
|
break;
|
|
|
}
|
|
|
-
|
|
|
+ else{
|
|
|
+ [WXApi handleOpenURL:context.URL delegate:self];
|
|
|
+ }
|
|
|
//NSLog(@"context.options.sourceApplication ===== %@",context.options.sourceApplication);
|
|
|
- [WXApi handleOpenURL:context.URL delegate:self];
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|