Differentiate silent notifications from normal push notification

Is there a way by which an incoming notification can be identified as a normal notification or a silent notification?

In this method, 

func receivedNotificationResponse(_ notificationResponse: UANotificationResponse, completionHandler: @escaping () -> Swift.Void) { }

Based on the type of push received, I need to perform different actions.

Any suggestions!

Thanks.

 

 

 

Didn't find what you were looking for?

New post

Comments

1 comment

Please sign in to leave a comment.