Cara Menampilkan Ikon Pemberitahuan Di 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"
}
Encouraging Eland