Closed ErAshu closed 6 years ago
I have a tab named Notification. I have to set Badge count if i get the notification.
How can i set the badge from AppDelegate?
@ErAshu You can create a static member in the AppDelegate, then initialize it in your view controller.
Then you can normally use tabController.setBadgeText("5", atIndex: 3)
tabController.setBadgeText("5", atIndex: 3)
I have a tab named Notification. I have to set Badge count if i get the notification.
How can i set the badge from AppDelegate?