I am creating a navigation based application, in that there is function that will alert the user for some events that will occur.
For that we are using Push notification, i know how to implement push notification,
But My question is can i change the icon in notification centre when push notification comes?
Note: i am not talk about badge icon,
Check desired images of notificaiton centre:
If not please provide reference for that.
The layout and presentation of push notifications is defined by iOS you are able to supply an app icon that is always used with your push notifications (always the same) and the textual message. The icon you use must be based on the same app icon you use for the app itself. This is part of the guidelines.
Here is the reference for it
https://developer.apple.com/ios/human-interface-guidelines/features/notifications/
No, you cannot. The push notification icon is something which you specify in the Icons list of your Info.plist. This cannot be changed for each notification.
iOS displays the small version of your app icon in a banner, so that people can see at a glance which app is notifying them.
Click here to read Apple Notification Guidelines.