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

'NSInternalInconsistencyException', reason: '+entityForName: could not locate an NSManagedObjectModel for entity name

I have a window based applicaiton with tab bar and navigation bar integrated into it. On the navigation bar have a custom button which opens a table view. On clicking on the cell of the table I want to open a new table view controller. But as soon…
2
votes
1 answer

UIToolbar Memory Leak

Currently I have a navigation based application and obviously the RootViewController is a UITableView. However, I deemed it necessary to create a UIToolbar that floats above the UITableView. Currently I do this like this. -…
2
votes
2 answers

Show a View Controller that is already on Navigation Stack

I have a Tab bar Controller (with a bottom menu) and also a top menu. The problem is that I don't want to link the yellow and green views to the tab bar (because the user is going to change the views using the top menu rather than the bottom menu). …
Adrian
  • 315
  • 2
  • 3
  • 17
2
votes
4 answers

Show Navigation Controller With Back Button

I am trying to programmatically show a view that I already have coded up, and give it a back button so that the user can easily pop back to my current view. Here is the only code I can get working, but it does not show a back button! UIStoryboard…
TheJeff
  • 3,665
  • 34
  • 52
2
votes
2 answers

Custom Tab bar in Android

Is it possible to customize tab bar in android? Customize in the sense, like in iPhone, the tab bar is at the bottom of the screen; in Android, can we place the tab bar at the bottom and its content on top of it?
2
votes
1 answer

Change navigation bar color of CNContactPickerViewController iOS

I've home view controller shown in image 1. When user clicks on bar button another view controller is presented using presentViewController: method. This is CNContactPickerViewController which is completely native (shown in image 2). How to…
Jayprakash Dubey
  • 35,723
  • 18
  • 170
  • 177
2
votes
1 answer

How to access NavigationController's navigation bar size from my View in iOS?

I'm doing everything programmatically, and have no Storyboards. I'm using Swift2.0 and I'm a beginner. My app structure is very simple: In my AppDelegate, I am initializing a UINavigationController and a ViewController, and adding my ViewController…
0b10110
  • 29
  • 1
  • 5
2
votes
2 answers

How to programmatically go back from Detail View Controller to Master View Controller?

I've been having trouble getting data to pass from a detail view controller to the master one. The hierarchy of the interested parts is TabBarController -> Profile View Controller --segue--> Navigation Controller -> Detail View Controller The…
D. Mihai
  • 41
  • 5
2
votes
3 answers

If I have one nav_bar.html file that is included on other pages, how do I show which menu item is active?

thanks for taking the time to read this. I have a JavaScript (jQuery) navigation bar on my main page that is simply "included" on my page. For example, I have index.shtml that "includes" the nav bar, which is "nav_bar.shtml". And this is the same…
Mike
  • 113
  • 1
  • 5
2
votes
6 answers

iOS disable animation for NavigationController back button

I want to disable the animation when i pop a ViewController with the back button in NavigationController. I tried: override func viewWillDisappear(animated: Bool) { super.viewWillDisappear(false) } But it still animates.
Lord Vermillion
  • 5,264
  • 20
  • 69
  • 109
2
votes
0 answers

bootstrap: how to switch "pages" without reloading bootstrap (jquery-mobile style)

assuming there is a lot of truth behind the claim that Bootstrap cannot be used together with JQuery UI and JQuery Mobile (unless you try some 3rd party hybrid projects that only aim to breed the two together for specific versions), what is the best…
Sagi Mann
  • 2,967
  • 6
  • 39
  • 72
2
votes
0 answers

Perform Button Segue to Table View Controller within Navigation Controller

I have a main screen that is a Tab Bar controller with 4 tabs. One of the tabs takes you to a navigation controller where you can click through 3 different Table View Controllers. I also have a button on one of the other tabs. I would like this…
2
votes
3 answers

How to push a new view controller when a table cell is tapped?

I have created this table with 3 sections and 7 rows. The code is shown below import UIKit class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource { @IBOutlet var subjectTabelView: UITableView! var slSubject =…
Shawn Clarke
  • 35
  • 1
  • 1
  • 5
2
votes
0 answers

Accessing Self from Swift Closure

I am trying to call the method below that was declared in the superclass from its subclass. However, inside the method self.navigationController became nil. The superclass's method was called from a completion closure of a NSURLSession task in the…
harinsa
  • 3,176
  • 5
  • 33
  • 53
2
votes
2 answers

iOS back to root ViewController in the modal and navigation uiviewcontroller

I have a structure about navigation and many page have modal (popup) on the uiviewcontroller(UINavigationController). When I disconnect the bluetooth, I need back to the root the viewcontroller. So I set the dismiss and popToRoot in the disconnect…