iOS 7 navigation bar style to look like navigation controller nav bar - ios

When using the navigation controller or embedding a view controller in navigation controller, the navigation bar light grey color covers the status bar also (the carrier, time, battery, etc). When dragging a navigation bar onto the view controller, the status bar is still white. You can't change the height of the navigation bar...so how can I make everything look and feel the same? Here's the two images:
As you can see, Chat shows that white space above the nav bar, whereas Social doesn't...any workout for this?

In this case navigation bar looks like non-transparent.
Please check properties of navigation bar and/or initialization of this bar to be sure that it's transparent.

Related

Why is there a white area where my iOS Status Bar is supposed to be

I created a new view controller and connected it up in an existing storyboard. I can see the status bar on all the preceding screens, but not on this one. There is just a white bar where it should be. I'm not doing anything to hide the status bar!
I have no idea why, but the base view of my view controller was not transparent. When I made the background color of the base view of the view controller transparent, I could see my status bar again.

Dark grey Navigation bar in storyboard

I have a navigation bar in my storyboard and usually when you add a navigation controller to a view controller you get a nice cream navigation bar like this:
Instead of this however, I get a weird dark grey colour like so:
My question is how can I get rid of this annoying grey in the nav bar in the storyboard not in code.
Select Navigation Controller -> Navigation Bar -> Attributes Inspector -> pick color for background as you want
Here is the result (iPhone 5s's screenshot):

UINavigationController background issue in UISplitViewController that is embed in UITabBarController

I want my SplitViewController to be embedded in TabBarController. I started with a Single View Application. Then I used storyboard to connect all controllers as shown on this image.
The navigation works fine, but the problem is at the top and bottom bar background colour. I would like to use Translucent Black Navigation Bar and Tab Bar. For some reason, the background colour of Navigation Bar and Tab Bar in master view is grey instead of purple (colour of master view background). In detail view the colour is fine. Problem is clearly seen on this image.
I tried to manually set the colour of NavigationBar but it didn't help.

How to contain UIViewController view between navigation bar and tab bar?

I have created a storyboard layout which contains UIViewControllers within UINavigationControllers which all connect back to a UITabBarController. There is a login page which is not connected to anything (just a UIViewController) which segues into the UITabBarController when the app detects user authentication. You can see what this looks like in the following image:
When I set the translucent property of the Navigation Bar to "false" or "No", the view y origin gets pushed down to the bottom of the Navigation Bar (which is the behavior that I am looking for). However, when I set the translucent property of the Tab Bar to "false" or "No", the Tab Bar DOES become opaque, but the view is not resized to fit between the top and bottom bars. I have unchecked the Extend Edges property for both Under Top Bars and Under Bottom Bars for all UIViewControllers, UINavigationControllers, and the UITabBarController.
When I add subviews programmatically (no auto-layout), the UIViewController's view is still the height of the entire screen, and is only pushed down from the top bar, but not pushed up from the bottom bar. While creating this question, this is the result I got on the simulator (subviews are not even starting below the Navigation Bar):
The layout that I'm trying to achieve is to have the view fit between the Navigation Bar and the Tab Bar so that both bars are opaque and no content goes underneath them. Any ideas or suggestions?
EDIT:
After eliminating individual Navigation Controllers and adding a single one before the TabBar Controller, I'm getting weird behavior including navigation items disappearing and one of my subviews still goes under bottom bar.
EDIT 2:
After doing some research, It seems that having navigation controllers inside each tab is a normal view hierarchy. Unfortunately, I still have not figured out how to limit a view controller's view to be between a navigation bar and a tab bar. Any suggestions?

How to overlap navigation bar

Anyone had this problem before ?
I had set my navigation bar to be transparent .When i push to a new view controller the view does not overlap the navigation bar . It leaves a white spaces which i don't want to . I want the uiview to be full to the top of the screen rather than below the navigation bar because i want it to be transparent so that it show the transparent navigation bar with image view .
Here some example
https://www.dropbox.com/s/teuhsdt6u4agr6e/Screen%20Shot%202016-02-25%20at%205.21.14%20PM.png?dl=0
Navigation bar is not there on the image you put as example. It looks like an image view positioned an appropriate amount of space below the top.
Navigation bar will always be visible if there is one. If you don't want the navigation bar to be displayed, present the view controller instead of pushing it onto the navigation stack.

Resources