Skip to content

ApplicationIcon Badge Number

levching edited this page Apr 15, 2020 · 3 revisions

If you wonder how to add a number to your app icon, looking something like this:

ApplicationIconBadgeNumber

This is the exact API you were looking for, and you can set a number of application badges as easy as shown on a code snippet below:

using SA.iOS.UIKit;
...
ISN_UIApplication.ApplicationIconBadgeNumber = 5;

If you want to remove it, simply set badges number to zero:

using SA.iOS.UIKit;
...
ISN_UIApplication.ApplicationIconBadgeNumber = 5;

About

Foundation

AV Foundation

App Tracking Transparency

Game Kit

Store Kit

UI Kit

Social

Replay Kit

Contacts

AVKit

Photos

App Delegate

User Notifications

MediaPlayer

Core Location

AdSupport

EventKit

CloudKit

Authentication Services

XCode

Knowledge Base

Clone this wiki locally