Tutorial : Let's take quick dive in Grouped Notifications - iOS 12

With iOS 12 we can set the group of notifications
grouped notifications

Thread Identifier

Create notification content with threadIdentifier to create group of that notification. Group will be of the application or specific topic from an application.

Notification payload will be like this

Give meaningful name to thread identifier for specific purpose of group.

Summary of group

Simple Notification Group Summary

Hidden Previews Summary Customization

Notification Group Summary with Arguments

Notification Group Summary Argument

Notification Summary with Argument Count

Updated notification payload will be like this

Example with local notifications:

Setup user notifications in the application.

Fire local notifications and look into the thread identifier, summary and summary count…

Conclusion

I know that I haven’t described anything in detail. If I get time I will update this blog with details.

Happy Coding ?

If you have any questions, comments, suggestions or feedback then contact me on Twitter @ashishkakkad8.