iOS 15 New Changes in Notification

Rich Notification

We can add an icon in the NotificationAction in iOS15

In the above code snippet

Line no1: Here we added an icon for the notification action.

Line no2: In the NotificationAction, we pass the parameter, identifier(this helps us to identify the button action in the notification delegate method), Title(this is the title of the action), and icon(add notificationActionIcon)

Line no5: we add all actions in the Category.

Lock Screen Notification

GitHub Link:

YouTube Tutorial Link: https://youtu.be/pkvmiWrgCis

Thank you for reading.

--

--

No responses yet