UIApplication.applicationIconBadgeNumber Deprecated

Hi everyone.

I noticed that applicationIconBadgeNumber is now deprecated, if there is a new way to set this badge number with setBadgeCount(_:withCompletionHandler:) i don't see any new way to get the current value.

Does anyone know how to get the current value?

thanks

UIApplication.applicationIconBadgeNumber Deprecated
 
 
Q