2017-12-22 12 views

答えて

0

背景色を設定するために、このコード

UINavigationBar.appearance().largeTitleTextAttributes = 
[NSAttributedStringKey.foregroundColor:UIColor.blue, 
NSAttributedStringKey.font:UIFont.boldSystemFont(ofSize: 22)] 

この

を試してみて、テキストとフォントの使用を変更するために、このコード

self.navigationController?.setBackgroundColor(UIColor.blue) 

を使用

関連する問題