Navigation bar not showing in Xcode 7.3 - ios

I'm new to iOS development and am having trouble getting the nav bar to show. I've been searching through all the answers to when this question has been asked previously and can't find where my issues is. I'm using a navigation controller. Can any of you see what's wrong with my settings? Much appreciated.
Nav bar settings
Emulator screen shot
Sorry for the lack of pictures. Looks like I'm limited to two.

Select Navigation Controller in the Attributes Inspector check "is Initial View Controller".

Related

How to solve Google Maps sdk orientation issues using TabViewController

I started an iOS project for iPhone where I thought might want a tab bar. I later decided that I don't want it (I want the extra screen space) and I so I tried to delete the tab bar and set my main ViewController as the initial viewController in storyboard.
This caused a weird error where the device's orientation no longer adjusts properly. For instance, switching from portrait orientation, shown in the picture:
becomes this in landscape:
If you start the app in landscape, it will look fine, but there will be a similar result when you switch to portrait. The bug manifests in the transition between screen orientations.
I've tried the following:
I restored the tab bar and the problem went away. This problem is caused by how I am removing the tab bar and not some other issue.
I searched for other articles dealing with this issue. So far, I've only seen documentation on how to install a tab bar, not how to safely remove it.
I attempted to connect the tab bar to the viewController with an IBOutlet and then set tabBar.isHidden = true. It's a bad hack, but it didn't work anyway. UITabBar has no such member.
I've tried comparing the settings between the tabBar viewController with my desired initial viewController in the Inspector, to see what may be different. Aside from the initial viewController check-box, I don't see a setting that might be causing this.
QUESTION: Is this a settings issue in storyboard (or elsewhere), or is this just a bug? My next attempt at a solution will be to delete the entire storyboard, and then recreate it and connect it back to the viewController. That's a fair amount of work I'd like to avoid if it's unnecessary.
Any help is appreciated. If I find a solution, I'll make sure to post it. Thanks!
UPDATE: I've found a workaround by going to the UI Tab Bar Controller in the Storyboard, selecting tab bar in Tab Bar Controller Scene -> Tab Bar Controller, and then checking the 'hidden' box in the inspector. This has the desired effect of getting rid of the tab bar when the app is running. It's like it's not there.
While this allows me to proceed with the app, the tab bar stuff is unnecessary code lying around in my app that I would like to get rid of.
Since I originally made this post, I've found out through experimentation that the every time I added Google's GMSMapView to a viewController, programmatically or in storyboard, I was having the above orientation issues. My original problem wasn't what I thought it was
I have since tried completely rebuilding the storyboard, viewController and all, but the problem didn't go away. I also tried overloading the orientation methods for the view to no effect.
However, if you are having this orientation problem with Google Maps sdk, imbedding the view controller that contains your GMSMapView in a tab view controller, and then hiding the tab bar (unless you want a tab bar) fixes the orientation issue in my project. It's not pretty, but it works.

Error in displaying tab bar controller in storyboard

I'm developing a project in Swift and when using the storyboard to modify the views, I find an uncomfortable situation. The image is self-explanatory: Image of the stroyboard.
As you can see, the bar has grown and it's impossible to see the view i'm working in. At first, the error ocurred in the navigation controller beneath the tab bar controller but now it spreads to the new views I create and connect.
Any help would be apreciated.

In Xcode 6.1 I have two navigation buttons. But they are not visible on the Storyboard anymore. How do I get them back?

So I have been working on an app for a bit now. Very New to iOS Development and have started straight in with Swift. I have several view controllers with navigation buttons. The buttons were placed by me on the storyboards but have have since disappears from the storyboards. Although when I run the app they are still appearing in the application and still function as coded.
I can see them in the side panel but I can't see them on the story boards. I have included some screen shots..
Can any explain why they are not on my storyboard any more and how I can get them back..
"http://i.stack.imgur.com/fGmxM.jpg" - XCODE View
"http://i.imgur.com/1iwsmGd.png" - App View
Apologies for the links I can't post images on my first post...
Change your top bar simulated metric to Inferred
Top Bar: None
Top Bar: Inferred
Assuming that your UINavigationController was added via Editor > Embed In > Navigation Controller

navigation & tab bars black for a split second right after launch

When launching or bringing my app from the background the navigation bar & tab bar are black for a split second before assuming storyboard defaults.
I feel there is somewhere a property enforcing this but I can't seem to find it.
Found something in the project properties info tab under "Custom iOS Target Properties"
where NavigationBar.Style = Default and NavigationBar.Translucent = NO which seem fine and don't affect the result.
It started happening around the iOS8 upgrade but can't time it very precisely.
Anyone has a clue on what might be causing this? Or where we set
Your view controllers of tab bar should be subclassed with UIViewController not UITabBarViewController. Please check your header file

Navigation bar tutorial

First, sorry for my bad English. I'm really beginner at App development and I'm doing an app with three views.
The first and the second ones are switched by a Tab Bar (and that's all right so far).
The first it's gonna be the only one which leads to the third view (which will be only a image) through a Navigation Bar.
This nav bar in the first view will have one button to go to the third view, and in the third view the nav bar will have a button "back" (and here's the problem).
I'm putting a nav bar in the first view and I try to put a Nav item into it, but they don't let me! How can I do it ? I can't find a good Navigation Bar's tutorial whithout storyboard (I'm not using storyboards...).
Thank you.
take a look at these two tutorials
http://fuelyourcoding.com/how-to-add-buttons-to-your-ios-app-navigation-bar/
and
http://www.idev101.com/learn/navigation_controllers.html

Resources