设置导航栏的标题 背景颜色和字体大小

来源:互联网 发布:华为手机记录运动数据 编辑:程序博客网 时间:2024/05/29 11:47

        self.navigationController?.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName:UIColor.blueColor(),NSFontAttributeName:UIFont .systemFontOfSize(40)];

0 0