iPhoneアプリに設置されているテーブルの背景色を変更する方法です。
//テーブルの背景色
self.view.backgroundColor = [UIColor groupTableViewBackgroundColor];
文字列の設定と同様に、以下のような記述も可能です。
self.view.backgroundColor = [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:1.0];
ホームページ制作・SEO対策・WordPress
iPhoneアプリに設置されているテーブルの背景色を変更する方法です。
//テーブルの背景色
self.view.backgroundColor = [UIColor groupTableViewBackgroundColor];
文字列の設定と同様に、以下のような記述も可能です。
self.view.backgroundColor = [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:1.0];