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
1 answer

Windows Phone app crashes when navigating back from a task

Some pages in my app allow users to click a hyperlink to launch the external browser via a WebBrowserHelper. I'm carefully saving the app state in OnNavigatedFrom and restoring it in OnNavigatedTo, but when the user navigates back from the web…
Ben Gracewood
  • 1,088
  • 8
  • 13
1
vote
1 answer

Navigate with NavigationViewController

I would like to know how to properly navigate in an application using a NavigationController, to not instantiate a ViewController each time I call it for example: In all know applications such as Instagram, when you click on a Toolbar Item, you…
Benobab
  • 428
  • 1
  • 6
  • 25
1
vote
1 answer

adding background image to the nnavigation rootview

how to add image as background to my rootview in navigation controller programmatically... thanks for that answer for navigation bar hide,....
Linux world
  • 3,750
  • 11
  • 44
  • 59
1
vote
1 answer

Push viewController on navigationController animated bottom to top iPhone SDK

Is it possible to push a viewController on navigationController, which is animated, not horizontally but vertically [bottom to top]?
neha
  • 6,327
  • 12
  • 46
  • 78
1
vote
1 answer

Why navigation controller does not navigate in callback using Swift?

I have created a navigation controller and assigned it to my View Controller in Swift. I created the following method: @IBAction func btnLoginPressed(sender: AnyObject) { let userManager = UserManager() …
xShivan
  • 91
  • 2
  • 9
1
vote
1 answer

Mixed type iPhone project(navigation and opengl es)

I would like to have the menu part of my game a navigation style application, customized as I want. Then when the player starts the game it should load the game and run like an opengl es application. How is this done? is it 2 types of apps…
some_id
  • 29,466
  • 62
  • 182
  • 304
1
vote
0 answers

About hide toolbar in iphone app

I have a navigationController which root viewController has no toolbar,but the root viewController navigates to a viewController which has a always visible toolbar.I must assure the root viewController's toolbar is hidden whether it is presented…
Jagie
  • 2,190
  • 3
  • 27
  • 25
1
vote
1 answer

Navigation Controller: Storing controllers vs models

I have a navigation controller with a table view. In most tutorials I've read they usually have an array of view controllers (or subclasses of) stored locally in the table view controller that they use to push onto the navigation stack when a table…
nebs
  • 4,939
  • 9
  • 41
  • 70
1
vote
2 answers

Multiple unwind in the same button - Swift

I would like to know if it is possible to assign two different unwind method at the same button. For example: I have this views navigations: Home->A->B Home->C->B A and C views navigates to B, but then I want to return to previous views using…
vicmator
  • 23
  • 5
1
vote
2 answers

unwind doesn't work

iOS 8.1 xCode 6.1.1 My storyboard is: Tab Bar Controller -> Navigation Controller (NC) 1 -> ViewController(VC) 1 -> NC2 -> VC2 -> NC3 -> VC3 From VC2 to NC3 is Show details segue. I have a Cancel button in VC3 that is supposed to unwind to…
Motoko
  • 1,062
  • 2
  • 15
  • 32
1
vote
1 answer

iOS XCode6 Status Bar Hidden breaks navigation controller

I was working on a project and XCode 6 seems to bring some bugs. To describe what I need/want : I want a fullscreen (without status bar) in some view controller Example : VC0 (with status bar) -> VC1 (without status bar) -> VC2 (with status bar) I…
Yesung
  • 13
  • 3
1
vote
1 answer

self.navigationController.topViewController as HomeViewController

I have a problem with the convert objective-c to swift. For my train, i converted MMPaper to swift, but in the property : objective-c - (void)interactionBeganAtPoint:(CGPoint)point { // Very basic communication between the transition controller…
macben
  • 13
  • 1
  • 5
1
vote
1 answer

How to change navigation item title via interface builder?

Ran into an issue today. I embedded a table view controller in a navigation controller. That table view is linked to two other view controllers via segues - the first is one to connect from table view controller to a log in view controller, the…
cheznead
  • 2,589
  • 7
  • 29
  • 50
1
vote
2 answers

referencing an instantiated object in another class in objective C

I am working in xcode on an ipod app in objective C, and I have a field (navigationController) in one of my classes (rootViewController). How do I reference the instantiated rootViewController's navigationController from another class? For…
1
vote
1 answer

ViewController in Navigation stack

I have 3 view controller in Navigation stack and I work with them all. After removing some VCs and finally presenting third iOS removes second VC from Navigation stack. I need it. How can I save VC in Navigation stack and stop it removal? I tried to…