root: Tab Bar View Controller を選択してストーリーボードの色を設定し、タブ バーを選択して、属性インスペクターで背景 (または色合い) の色を調整するか、または barTintColor を使用してコードを調整できます。
// Adjust the Color of the Tab Bar itself
self.tabBar.barTintColor = [UIColor redColor];
// Adjust the Color of the selected Icon in the Tab Bar
self.tabBar.tintColor = [Single single].singleThemeColorTint;
ALPHA も調整する必要がある場合は、次を使用します。
UIColor *charcoal = [UIColor colorWithRed:66/255.0
green:79/255.0
blue:91/255.0
alpha:1];
// For Tab Bar
self.tabBar.barTintColor = charcoal;
// For selected Item Highlight
self.tabBar.tintColor = charcoal;
タブ バー ストーリー ボード用のビュー コントローラー ファイルを作成し、このコードを ViewDidLoad{ } で実行しました。