Delete previous notifications when repeating call notification

This commit is contained in:
Benjamin Reis 2016-11-14 11:08:46 +01:00
parent e4ec255b3b
commit 9f522bf182

View file

@ -614,6 +614,7 @@ static void linphone_iphone_display_status(struct _LinphoneCore *lc, const char
UILocalNotification *notif = [timer userInfo];
if (notif) {
LOGI(@"cancelling/presenting local notif");
[[UIApplication sharedApplication] cancelAllLocalNotifications];
[[UIApplication sharedApplication] presentLocalNotificationNow:notif];
}
}