2017-02-15 76 views
-2

我想改變文字顏色在節分組頭全球。我試圖更改表視圖分組樣式的文本顏色全球

UITableViewHeaderFooterView.appearance().textLabel?.textColor = barColor 
    UITableViewHeaderFooterView.appearance().textLabel?.backgroundColor = barColor 

,但似乎並沒有工作

+0

看到這個http://stackoverflow.com/questions/7105747/how-to-change-font-color-of-the-title-in-grouped-type-uitableview –

回答