我想将tabBar
标题的字体设置为ubuntu,但我无法设置。
我编写了以下代码:
self.tabBarController.navigationController.navigationBar.titleTextAttributes =
@{NSForegroundColorAttributeName: [UIColor whiteColor],
NSFontAttributeName:[UIFont fontWithName:@"Ubuntu" size:9.0f]};