if #available(iOS 11.0, *) {
tabBar.tintColor = UIColor(named: "colorMain")
} else {
// Fallback on earlier versions
}
iOS swift设置颜色,UIColor和Color Set
最新推荐文章于 2024-07-10 20:24:11 发布
if #available(iOS 11.0, *) {
tabBar.tintColor = UIColor(named: "colorMain")
} else {
// Fallback on earlier versions
}