Set background color for UINavigationBar

前端 未结 9 617
滥情空心
滥情空心 2020-12-18 07:07

I want to develop UINavigationBar and also set background color for that. I have created the UINavigationBar but I have problem with setting backgr

9条回答
  •  鱼传尺愫
    2020-12-18 07:50

    You can set the tint color by using navbar.tintColor = [UIColor redColor];

    See the reference here: apple docs

提交回复
热议问题