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
3 answers

App crash when set title in view controller

I'm using LGSideMenuController for side menu. Everything is working fine. But when I set title of viewController my app crash. Without title it's working fine. I have following code which are available in didFinishWithLauchingOption to configure…
Mayur Karmur
  • 2,119
  • 14
  • 35
1
vote
1 answer

Navigation Controller does not load views

I have custom view controller named DRTableViewController In my app delegate, I use the following function to load - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override…
1
vote
0 answers

Navigation Architecture Component Push And Pop Functionality

Using the navigation controller, we can navigate to another fragment easily but each time it will create new fragment for eg navigate Fragment A --> B --> C then I pop fragment A then it will create new object of fragment A rather than resume to…
1
vote
1 answer

Remove 1px line in navigation bar of a split view controller

I'm trying to remove a the line between the navigation bar and the content. What I've tried so far: navigationBar.setValue(true, forKey: "hidesShadow") navigationBar.setBackgroundImage(UIImage(), for: UIBarMetrics.default) …
Mr. James
  • 456
  • 1
  • 5
  • 12
1
vote
2 answers

Swift - NavigationBar with TabBar not working well

In my case, I'm making an app for real-time chat. I'm using large titles and search bar inside of my main view. However I wanted to add tabBar to my app navigationController and tabBar not working correct. NOTE: I'm doing everything with code,…
Ahmet Özrahat
  • 325
  • 2
  • 7
  • 18
1
vote
1 answer

Dismissing View Controller Doesn't Work While Using Navigation Controller

I have two view controllers. The first one is embedded in a Navigation Controller. On the first view controller there is Bar Button Item which is connected by a segue to the second view controller. The segue is set as Push. Once I go to the second…
user8969667
1
vote
2 answers

moreNavigationController save settings

I have a tab bar in my application and it has a "More" tab because there are more than five tabs. This "More" tab is generated automatically and therefore I thought that it would all work "out of the box" but when I tried going to the "Edit" menu,…
simonbs
  • 7,932
  • 13
  • 69
  • 115
1
vote
0 answers

navigation control in ionic provider

Im using navigation control in ionic provider whenever i triggered the provider it shows the runtime error Cannot read property 'pop' of null my code is @Injectable() export class ServerResponseProvider { @ViewChild('myContent') navCtrl:…
1
vote
1 answer

Swift - Keep instantiated view controllers when switching between them via side menu

I have a side menu in my iOS app with several entries. Once I click on one of them, I want to segue to the corresponding view controller via pushing them onto the navigation stack. This is currently done in the following way: // Called on click…
phoebus
  • 1,280
  • 1
  • 16
  • 36
1
vote
0 answers

Present different outlets on the same view controller through navigation controller?

I want to present different outlets to the user for different stages of a registration form. For example they enter their first name and last name, press continue and then go onto the next part of the form to enter their date of birth etc and at…
1
vote
1 answer

How to segue to view controller from TabbarController?

I have a TabbarController with is the entry point of my app.So I want to segue for this TabbarController to ViewControllerA. I perform performSegue(with: "identifier").I can reach the ViewControllerA,but when I reach ViewControllerA there is no…
ken
  • 2,426
  • 5
  • 43
  • 98
1
vote
2 answers

Constraints not working with Navigation Controller

I will try to be as quick as I can. I have a Main view with a container with a height of 0 and whenever the keyboard is enabled I set the container to be the same height of the keyboard and I have a a button and a email field and I have set…
1
vote
1 answer

White Bar appearing at bottom of each view controller in storyboard but doesn't affect when ran

In my storyboard view these white bars appeared at the bottom of every view. I can't remember what I did when they appeared, the only thing I can think of was that I tried to add a bar button but then deleted it, so maybe that created some sort of…
Jon Bould
  • 65
  • 7
1
vote
2 answers

IOS navigationController?.popToRootViewController has wrong

@IBAction func addInformation(_ sender: UIBarButtonItem) { // check rateHourly has value if let editedRateHourly = rateHourly.text { print("editedRateHourly condition is \(editedRateHourly)") if editedRateHourly != ""{ …
1
vote
1 answer

Swift IOS keep view controller running in background after pop

My app consists of two views. The first one is a GMSMapView and the second one is used to connect to a Bluetooth device that sends coordinates. After the Bluetooth device is connected, I use a delegate to send the information back to the map view…
lhbortho
  • 167
  • 2
  • 16