浏览代码

doc: fix incorrect code examples for universal / deep linking

j8
François Benaiteau 6 年前
父节点
当前提交
61b66e0edf
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      ios/README.md

+ 3
- 3
ios/README.md 查看文件

@@ -92,7 +92,7 @@ Leaves the currently active conference.
92 92
 
93 93
 #### Universal / deep linking
94 94
 
95
-In order to support Universal / deep linking, `JitsiMeetView` offers 2 class
95
+In order to support Universal / deep linking, `JitsiMeet` offers 2 class
96 96
 methods that you app's delegate should call in order for the app to follow those
97 97
 links.
98 98
 
@@ -104,7 +104,7 @@ is useful when the host application uses other SDKs which also use linking.
104 104
 continueUserActivity:(NSUserActivity *)userActivity
105 105
   restorationHandler:(void (^)(NSArray *restorableObjects))restorationHandler
106 106
 {
107
-  return [JitsiMeetView application:application
107
+  return [[JitsiMeet sharedInstance] application:application
108 108
                continueUserActivity:userActivity
109 109
                  restorationHandler:restorationHandler];
110 110
 }
@@ -117,7 +117,7 @@ And also one of the following:
117 117
 - (BOOL)application:(UIApplication *)app
118 118
             openURL:(NSURL *)url
119 119
             options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
120
-  return [JitsiMeetView application:app
120
+  return [[JitsiMeet sharedInstance] application:app
121 121
                             openURL:url
122 122
                             options: options];
123 123
 }

正在加载...
取消
保存