简体   繁体   中英

Can't see Top Navigation Bar on Root View Controller

I am trying to build a Universal iOS APP. I just started with root view controller and trying to display Navigation Bar on top.

Navigation Bar is visible on Xcode 6 preview mode, along with title that I added, but no matter what I do, it's not visible on the simulator.

How can I show the navigation bar on simulator?

Am using XCOde 6 & iOS 8. Forgot to mention that I am not using Navigation Controller & instead, am using the first view controller as the root view controller.

Actually, I don't want to use Navigation Controller as the root view controller, because it then takes control on all the pages, which I don't want. What if I want to change the back button the way i like, can I do that with Navigation Controller as root view controller?

I assume that you have a similar situation:

Check that your navigation controller is set as initial view controller and visibile : just click on your navigation controller and on your right:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM