What is the default background color of the navigation bar in iOS 7?

后端 未结 8 1461
星月不相逢
星月不相逢 2020-12-31 00:45

I would like to set the background color of a menu to that of the navigation bar. What is the best way to do this?

相关标签:
8条回答
  • 2020-12-31 01:08

    Swift 3.0 +

    UIColor(red: (247/255), green: (247/255), blue: (247/255), alpha: 1)

    0 讨论(0)
  • 2020-12-31 01:14

    You can set the barTintColor to nil to restore to the default white color.

    0 讨论(0)
提交回复
热议问题