Repair notification display

This commit is contained in:
Benjamin Reis 2016-11-24 14:13:58 +01:00
parent f08a87dcf4
commit 420a707731

View file

@ -659,7 +659,7 @@ didInvalidatePushTokenForType:(NSString *)type {
#pragma mark - UserNotifications Framework
- (void) userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler {
completionHandler(UNNotificationPresentationOptionAlert | UNNotificationPresentationOptionSound);
completionHandler(UNNotificationPresentationOptionAlert | UNNotificationPresentationOptionAlert);
}