forked from mirrors/linphone-iphone
Delete previous notifications when repeating call notification
This commit is contained in:
parent
e4ec255b3b
commit
9f522bf182
1 changed files with 1 additions and 0 deletions
|
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue