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
0
votes
2 answers

How to perform action when navigation controller pops a view on iPhone?

I want to do some saving stuff when the user hits the back button on a navigation controller. Is this only possible by implementing - (void)navigationController:(UINavigationController *)navigationController…
marty
  • 1,137
  • 2
  • 7
  • 7
0
votes
0 answers

holding a view's state to return to after popping another view

I have a search view controller that when initially tapping into the search bar is in it's initial state. After you search you are in the same controller but now listing the results. If you click through any of the rows you are brought to a totally…
ids
  • 65
  • 8
0
votes
1 answer

iOS delegate issues when pushing multiple ViewControllers to NavigationController stack

I have some code that push two ViewControllers to the NavigationController stack. This is because i want to open a "submenu" view of my menu. let menuVC = storyboard!.instantiateViewControllerWithIdentifier("menuView") as! MenuTableViewController …
Lord Vermillion
  • 5,264
  • 20
  • 69
  • 109
0
votes
1 answer

Putting a navigation controller with hierarchical table views inside of a view controller in swift

I am making an iPad application which requires the use of a "drill down" style set of table views for users to add elements to a list (i.e. a user taps on a table view cell and it brings up more detail or options, like you would see in settings). My…
Matt Spoon
  • 2,760
  • 5
  • 25
  • 41
0
votes
1 answer

prepareForSegue for NavigationController in ViewController from stack

I have a segue between two navigationControllers: How can i "catch" the segue in prepareForSegue in one of the ViewControllers in the NavigationControllers ViewController-stack?
Lord Vermillion
  • 5,264
  • 20
  • 69
  • 109
0
votes
1 answer

parentViewController and presentingViewController both are nil

I have a tabBarController with 5 tabs the third tab is a navigation controller with TableViewController as the root view controller. When I press on a row on the table view it push a detail view (regular view controller) about the selected row. The…
Mahmoud Fayez
  • 3,398
  • 2
  • 19
  • 36
0
votes
0 answers

How to remove NavigationController

In my app I am using a NavigationController to display a SlideView by using following code func addChildSidePanelController(sidePanelController: SlideViewController) { sidePanelController.delegate = centerViewController let…
0
votes
2 answers

iOS9 Navigation Bar Back Button not working

Everything works perfectly before iOS 9. However, when the app is running on iOS 9, nothing happens when back button is tapped so I am not able to go back as well as it keeps greyed out. Also, I am not able to segue to the next view after the first…
0
votes
1 answer

Open specific ViewController when recive push notification?

I would set the opening off us specific view by opening a push notification sent from parse.Using IOS 8. How can i do that?? I used this code: - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo…
0
votes
1 answer

iOS Swift Segues

What I want: When I'm on my green screen and push the button "PushToBrown" I want the brown screen "think" that I'm coming from blue. So if push the back Button in my brown screen I always want to go back to blue. At the moment: I call from my green…
S. Birklin
  • 1,255
  • 1
  • 13
  • 19
0
votes
3 answers

adding navigation effect to view based application?

I have created View based application, here i need to navigate between views when button pressed. so in first view controller i have created action for button pressed. -(IBAction)loadSecondView:(id)sender { SecondView *sView = [[SecondView…
mac
  • 4,760
  • 7
  • 31
  • 33
0
votes
2 answers

prepare segue function in table view to different view controller

when I click on the row of the table view should edit with details in the different view controller. Something wrong with my prepare segue function. And also where to write code in the new different controller to view in this page. import…
Raj
  • 61
  • 3
  • 7
0
votes
3 answers

Dismissing a Modal ViewController back to a Navigation Controller Stack imbedded in a TabBarController causing crash

Have been working for a long time trying to find the fix to my crash. Not sure if it's a fundamental design flaw on my part or something that can be fixed easily. My app has a NavigationController embedded in a TabBarController. When I modally…
0
votes
0 answers

incorrect visible view controller

I am trying to call a segue in my iOS app but am getting the error Could not find a navigation controller for segue ___ I determined that the issue is that when I try to check the current visibleViewController, it is not the ViewController that…
scientiffic
  • 9,045
  • 18
  • 76
  • 149
0
votes
1 answer

Access to a pushed controller from navigationController

I try to set some properties from a pushed viewcontroller (Viewcontroller B) to the previous view in the stack of the nav controller (Viewcontroller A). However the object (header) I try to set properties is nil just at the moment where I set its…
AnthonyR
  • 3,485
  • 1
  • 18
  • 41