问题
is it possible to do not display or even cancel remote notification after receive it on device from code?
Regards, Radek
回答1:
So I will send silent push notification from my server and then based on payload I will show or not local notification alert with sound. What do you think?
I know how to clear existing notifications but I mean cancel before this notification appears in UI. Maybe I was not so precise in my question.
Tx for help.
来源:https://stackoverflow.com/questions/32432628/hide-do-not-display-remote-notification-from-code-swift