Post

Replies

Boosts

Views

Activity

How to Retrieve Current Badge Count After applicationIconBadgeNumber Deprecation?
Hi Everyone, I noticed that applicationIconBadgeNumber has been deprecated in iOS17. While there's a new method to set the badge number using setBadgeCount(_:withCompletionHandler:), I couldn't find a way to retrieve the current value. Previously we used to call UIApplication.shared.applicationIconBadgeNumber, to get the current value, which is deprecated now. Does anyone know how to get the current badge count? Thanks!
1
0
191
Oct ’24