I want to change background color of UITabBarItem
badge but can\'t find any resource on how to make it.
Changing the badge-color is now natively supported in iOS 10 and later using the badgeColor
property inside your UITabBarItem
. See the apple docs for more infos on the property.
Example:
myTab.badgeColor = UIColor.blue
[myTab setBadgeColor:[UIColor blueColor]];
YES, But the only possible solution is to create a custom Tabbar and creating your custom tabbar badge icon. You will find many article/code for creating custom tabbar.