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.

Push Notifications in iOS 10 [Swift]

Push Notification iOS 10 Swift
Push Notification iOS 10 Swift

The new framework called “UserNotifications” is introduced with iOS 10 SDK. The UserNotifications framework (UserNotifications.framework) supports the delivery and handling of local and remote notifications.

So, Let see what we have to change to get the push notifications in iOS 10.

Read more