I want to change background color of UITabBarItem
badge but can't find any resource on how to make it.
UITabBarItem
has this available since iOS 10.
var badgeColor: UIColor? { get set }
It's also available via appearence.
if #available(iOS 10, *) {
UITabBarItem.appearance().badgeColor = .green
}
reference docs: https://developer.apple.com/reference/uikit/uitabbaritem/1648567-badgecolor