Answers for "swift add badge to tab bar item"

0

how to show notification icon on tabbar item swift

if let tabItems = tabBarController?.tabBar.items {
    // In this case we want to modify the badge number of the third tab:
    let tabItem = tabItems[2]
    tabItem.badgeValue = "1"
}
Posted by: Guest on October-10-2020

Code answers related to "swift add badge to tab bar item"

Code answers related to "Swift"

Browse Popular Code Answers by Language