I tries this code but the badge is not showing up
tabBarController?.tabBar.Item![3].badgeValue = "3"
I added this code to my TabBarController class Is this the right way to add it?
I tries this code but the badge is not showing up
tabBarController?.tabBar.Item![3].badgeValue = "3"
I added this code to my TabBarController class Is this the right way to add it?
Your code should be like this : self.tabBar.Item![3].badgeValue ="3"
because it seems to be a subclass.