- Home /
Clear notifications in iphone tray.
I wanto to clear received notifications in my notification tray.
this is code...
LocalNotification noti = new LocalNotification(); noti.fireDate = System.Datetime.Now.AddSeconds(1); noti.applicationIconBadgeNumber = 0;
NotificationServices.ScheduleLocalNotification(noti);
... It's work.... app's Badge set 0. but... notificatins are still left in the iphone tray.
how do I remove notifications...?
please...
same problem
UnityEngine.iOS.NotificationServices.ClearLocalNotifications ();
UnityEngine.iOS.NotificationServices.CancelLocalNotification(note);
does't work
Did you ever get clearing notifications in the tray working?
Your answer
Follow this Question
Related Questions
How to know when my game is in background? 1 Answer
Send notification when ur energy has full 2 Answers
Custom push notification sound in android build doesn't work 0 Answers
How to properly remove a scheduled ios notification 1 Answer
FBX exporter Pivot problem - why does my model always has its pivot in the center? 3 Answers