How can I check if my app has a badge number. When I send a push notification the users, it add a “1” as the badge number to the icon. I would like to check if there is a badge number when the user launches the app and direct them a view controller.
Share
I’d propably make use of the property
applicationIconBadgeNumberof the- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions‘s application.So, to be clear:
Hope that helps.