Commit 7c7fa790 authored by Montlouis-Calixte Stéphane's avatar Montlouis-Calixte Stéphane Committed by Libin Lu

Fix editing of AppDelegate.m (#378)

Can be misleading.
parent 689d7872
...@@ -189,7 +189,10 @@ Edit `AppDelegate.m`: ...@@ -189,7 +189,10 @@ Edit `AppDelegate.m`:
//... //...
+ [FIRApp configure]; + [FIRApp configure];
+ [[UNUserNotificationCenter currentNotificationCenter] setDelegate:self]; + [[UNUserNotificationCenter currentNotificationCenter] setDelegate:self];
+ }
return YES;
}
+ +
+ - (void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler + - (void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler
+ { + {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment