0
如何以編程方式將「組表視圖」模式定義爲背景?如何以編程方式將「組表視圖」模式定義爲背景?
如何以編程方式將「組表視圖」模式定義爲背景?如何以編程方式將「組表視圖」模式定義爲背景?
組表視圖模式是UIColor
屬性:
[someView setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
您使用的UIColor類方法groupTableViewBackgroundColor
EG:
self.view.backgroundColor = [UIColor groupTableViewBackgroundColor];
(或者,如果你不喜歡點符號:[self.view setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
)