File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ To deep link, Branch must initialize a session to check if the user originated f
210210
211211- (BOOL )application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray *restorableObjects))restorationHandler {
212212 BOOL handledByBranch = [[Branch getInstance] continueUserActivity:userActivity];
213-
213+
214214 return handledByBranch;
215215}
216216
@@ -250,6 +250,22 @@ func application(_ application: UIApplication, didReceiveRemoteNotification laun
250250}
251251```
252252
253+
254+ Note: If your application delegate declares the method:
255+
256+ ```
257+ - (BOOL) application:willFinishLaunchingWithOptions:
258+ ```
259+
260+ In Swift:
261+
262+ ```
263+ optional func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool
264+ ```
265+
266+ it must return ``` YES ``` for Branch to work.
267+
268+
253269#### Parameters
254270
255271###### initSession
@@ -719,7 +735,7 @@ linkProperties.feature = @"sharing";
719735```objc
720736[branchUniversalObject showShareSheetWithLinkProperties:linkProperties
721737 andShareText:@"Super amazing thing I want to share!"
722- fromViewController:self
738+ fromViewController:self
723739 completion:^(NSString *activityType, BOOL completed){
724740 NSLog(@"finished presenting");
725741}];
@@ -748,9 +764,9 @@ branchUniversalObject.showShareSheet(with: linkProperties,
748764
749765** andShareText** : A dictionary to use while building up the Branch link.
750766
751- ** fromViewController** :
767+ ** fromViewController** :
752768
753- ** completion** :
769+ ** completion** :
754770
755771#### Further Customization
756772
You can’t perform that action at this time.
0 commit comments