Hi I have this code and it doesn\'t work, what am I doing wrong?
- (void)viewDidLoad { [self.tabBarItem setTitleTextAttributes:[NSDictionary dictiona
Swift way, for lazies:
UITabBarItem.appearance().setTitleTextAttributes([NSFontAttributeName: UIFont.systemFontOfSize(10)], forState: .normal) UITabBarItem.appearance().setTitleTextAttributes([NSFontAttributeName: UIFont.systemFontOfSize(10)], forState: .selected)