Skip to content

Commit

Permalink
fix completion handler constants (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
vonovak authored Oct 17, 2020
1 parent 29733b3 commit 01d1c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ And then in your AppDelegate implementation, add the following:
//Called when a notification is delivered to a foreground app.
-(void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions options))completionHandler
{
completionHandler(UNAuthorizationOptionSound | UNAuthorizationOptionAlert | UNAuthorizationOptionBadge);
completionHandler(UNNotificationPresentationOptionSound | UNNotificationPresentationOptionAlert | UNNotificationPresentationOptionBadge);
}
```

Expand Down

0 comments on commit 01d1c84

Please sign in to comment.