Questions tagged [navigationcontroller]

A Controller in a MVC (Model View Controller) pattern provides the execution flow of the application. NavigationController is about this flow.

A Controller in a MVC (Model View Controller) pattern provides the execution flow of the application. NagigationController is about this flow in a technology that can apply the MVC pattern.

507 questions
1
vote
2 answers

View disappears with delay swift

I have the navigationController with 2 UIViewControllers. When I press "back button" view from secondViewController disappears with 1 second delay. P.S. I use iCarousel pod for init the views in secondViewController. See screenshots: When I press…
Gleb SIgal
  • 69
  • 8
1
vote
0 answers

Retain the same navigation bar and tab bar on clicking a navigation item and moving to a different view

Following is my Main.storyboard. I have a Tab bar controller that is embedded in a Navigation controller. On clicking different items in the Tab bar the Navigation bar remains the same throughout . On click of different items in the Navigation bar…
A.S
  • 798
  • 1
  • 10
  • 32
1
vote
0 answers

iOS navigation controller rooting swift

I'm currently working on creating an iOS app from scratch without using the story board. Everything is working fine except one thing that I can't push the view controller from the cell within the rootViewController, flow is down below, please…
Kousuke Kuzuoka
  • 125
  • 1
  • 10
1
vote
1 answer

How do I find out the navigation controller that is part of the current viewController?

I'm having a problem getting a button to show on a navigation controller. I have researched this and I think it has to do with how navigation works. Pushed and Popped from a stack. Here is what I have: I have the initial view as a navigation…
1
vote
2 answers

use segue with kind present modally by code

I have custom navigation bar and content a button bar I need create segue from my bar button to my custom navigation with kind present modally but programmatically not from storyboard this work but segue kind is…
joda
  • 711
  • 2
  • 8
  • 16
1
vote
1 answer

What is the program flow in case navigation based application developed for iphone in objective C?

I want to know the sequence in which default or predefined methods ( such as viewDidLoad applicationDidFinishLaunching etc) are called in program execution in a navigation based application.
Nitesh
  • 490
  • 3
  • 6
  • 15
1
vote
1 answer

Swift: Programmatically transitioning from 1 view to another via a TabBar and Navigation Controller

The user logs in and lands on viewNumOne, they fill out their name and address and get to see viewNumTwo and viewNumThree. They now logout. When they log back in I want them to go straight to viewColorBlue (this is where I am having the…
1
vote
1 answer

Keep Toolbar at top of UIView when using pushViewController and then popViewController?

Update: Another solution to this problem would be if the Navigation bar at the root level of the navigation controller could be transparent or not shown. Is there a way to make the Navigation bar at the root level of the navigation controller…
James Testa
  • 2,901
  • 4
  • 42
  • 60
1
vote
1 answer

Swift how to mimic navigationController , without navigation bar

I would like keep viewController's in memory and show them later in custom order by example call vc3 and after vc6 without init them again, they must stay in the same state. I had thinked to use navigationController , but I does not want navigation…
user2718075
  • 333
  • 2
  • 4
  • 15
1
vote
1 answer

NavigationController nil with Material

I have this in appDelegate: func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { window = UIWindow(frame: UIScreen.mainScreen().bounds) let nav =…
1
vote
0 answers

UIMapView does not show content at first time

I have a ViewController has a UIMapView as IBOutlet and the ViewController will be pushed into a navigationViewController. I use loadHtmlString:baseURL: method to set the content of the UIMapView, which works fine. But the content does not show at…
Stellit
  • 21
  • 7
1
vote
2 answers

Navigation Controller with Flip animation

I've just started to learn to code in Swift and in the process of building a restaurant iOS app. I basically have a table view of restaurants with a Map button on the top right, embedded in the nav. When you click on it, I like the view to flip to…
Danny
  • 190
  • 1
  • 12
1
vote
2 answers

view shifts down after being presented on screen when hiding tabBar in a navigationController stack in iOS

I am trying to hide my tabBar when pushing to a new viewController. I achieve this by ticking Hide Bottom Bar on Push in storyboard. The problem is that the new view that is being pushed to momentarily shows it's original position (as if the…
alionthego
  • 8,508
  • 9
  • 52
  • 125
1
vote
2 answers

Override NavigationBar's GetPositionForBar() using NavigationController - Xamarin

I'm using a NavigationController and I want its UINavigationBar's GetPositionForBar() method to always return UIBarPosition.TopAttached. As I'm using UINavigationController it's not possible to change the NavigationBar delegate, so I'm not sure how…
1
vote
2 answers

Navigation Segue not Working properly iOS Swift

My segue is returning with an error (unwrapping an optional value) from this line > self.navigationController?.... In my code... let nextScreen = self.storyboard!.instantiateViewControllerWithIdentifier("onboarding-what") as? ViewController …