Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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?

like image 598
Zia Avatar asked Oct 29 '13 20:10

Zia


People also ask

What color is navigation bar?

One feature you've probably never thought to customize is the navigation bar. It's the black bar at the bottom of the screen that holds the Home, Back, and Recents buttons.

What is navigation bar in iOS?

A navigation bar appears at the top of an app screen, enabling navigation through a hierarchy of content. A navigation bar also provides a natural place to display a screen's title — helping people orient themselves in your app or game — and it can include controls that affect the screen's content.

What is default Swift bar color?

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


1 Answers

The default navbar color in iOS 7 is [UIColor colorWithRed:(247.0f/255.0f) green:(247.0f/255.0f) blue:(247.0f/255.0f) alpha:1];

like image 200
Nikos M. Avatar answered Sep 23 '22 07:09

Nikos M.