Browse Source

1.前端唤起APP后抓取参数

huangxiaodong 1 year ago
parent
commit
f1caa3ae3f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      创维盒子/双子星云手机/AppDelegate/SceneDelegate.m

+ 2 - 1
创维盒子/双子星云手机/AppDelegate/SceneDelegate.m

@@ -427,7 +427,8 @@
     NSEnumerator *enumerator = [URLContexts objectEnumerator];
     UIOpenURLContext *context;
     while (context = [enumerator nextObject]) {
-        //NSLog(@"context.URL =====%@",context.URL);
+        NSLog(@"context.URL =====%@",context.URL);
+        //openprivacyxapp://page?param1=value1&param2=value2
         //NSLog(@"context.options.sourceApplication ===== %@",context.options.sourceApplication);
         [WXApi handleOpenURL:context.URL delegate:self];
     }