self.navigationController?.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName:UIColor.blueColor(),NSFontAttributeName:UIFont .systemFontOfSize(40)];
设置导航栏的标题 背景颜色和字体大小
最新推荐文章于 2021-06-02 17:39:14 发布
self.navigationController?.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName:UIColor.blueColor(),NSFontAttributeName:UIFont .systemFontOfSize(40)];