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

"View Controller A unreachable because it has no entry points" error after adding a new View Controller B and changing it to initial view controller

This error seems common, but I can't seem to find a similar root cause as mine so the solutions aren't working. I initially had single View Controller (VC 1) in my app, embedded in a Navigation Controller (NC). I then added a second VC 2 and removed…
John
  • 231
  • 2
  • 8
2
votes
1 answer

Navigation Controller direction

I have an issue using Navigation Controller. I have 4 fragments which are Main Fragments, Add Fragments, List Fragments & Details Fragments. My Main fragment can navigate to both Add & List. While My Add fragments only can navigate to List after…
Haziq Abdullah
  • 83
  • 1
  • 10
2
votes
1 answer

iOS - UITableView Pushing URL to UIWebView in Different View Controller

new to this site, but my head is absolutely killing me after trying for the past few hours to fix something that I know has to be insanely simple. Short story: I have a UIViewController with a UINavigationController The UIViewController…
user737753
2
votes
4 answers

How to call another class on navigation controller and add it to app delegate

I have created a view based application and in the appdelegate .h file I have created UINavigationcontroller object and added it to window subview. Next in the app did finish launching I had allocated and initialised a class that I want to be viewed…
Rani
  • 3,333
  • 13
  • 48
  • 89
2
votes
1 answer

How to get to a tab bar from the embedded view?

I have a tab bar controller in my application that has 4 tabs. One of them is supposed to display one of 2 scenes based on the response from the API: either an empty view if there is no data or a segmented control if there is data. Here are the…
2
votes
1 answer

how to pushViewController to tabBarController view?

I'm trying to display a UIViewController which displays a pdf file (PDFReaderViewController). I have a tabBarController with 4 tabs. I want to select the 4th tab, which is a UITableView with a list of files, and display the pdf with a navigation bar…
dynamo42
  • 43
  • 7
2
votes
1 answer

NavBar is showing white space at its bottom while i added SeachView as titleView in IOS using Objective C

I am having a weird problem with the view designed in xib file using Xcode 9.4.1 . I added the searchBar as the title view to the NavBar the view was showing fine but as i move to the next ViewController the height of the navBar gets minimized a…
2
votes
1 answer

Can I only load a viewcontroller once?

I made a table view with a city list. When I select a city cell, it will pass the city name and show the city's weather forecast by using segue in storyboard. However, every time it seems it will create a new viewcontroller. But I don't want it…
Penny Chen
  • 79
  • 1
  • 10
2
votes
1 answer

Android NavHostFragment with CoordinatorLayout

I want to implement new Android Navigation component in my app. As I know, the fragment that is basically used to host fragments (NavHostFragment), uses by default FrameLayout. But, unfortunately, FrameLayout doesn't know anythhing about window…
Kiryl Tkach
  • 3,118
  • 5
  • 20
  • 36
2
votes
2 answers

Swift: Custom UINavigationController not called

I want to change the root controller of my navigation controller programatically: import UIKit import Foundation class NavigationController : UINavigationController { override init(rootViewController : UIViewController) { print("TEST") …
Simon Hessner
  • 1,757
  • 1
  • 22
  • 49
2
votes
1 answer

UITabBarController in xamarin.ios without using StoryBoard

In continue of my question in this post, I want to post a complete question which will be a question lots of xamarin.ios developers. My request is having TabBar in ALL UIViewControllers. So, as I know, there are two ways to realize it. First…
2
votes
1 answer

Adding UITabBarController and have no NavigationController

As I'm new in Xamarin.IOS, I'd like to ask a question. I've followed this example for adding UITabBarController in a Xamarin.IOS project. When I initialized RootViewController by an instance of TabController, it works fine and I have all tabs.…
2
votes
2 answers

Ionic 3 - Set Root without tabs

How to do a navCtrl.setRoot(Page) without the tabs? I foun a solution for Ionic2 but can't find it to the version 3. this.navCtrl.setRoot(LoginPage);
2
votes
1 answer

Navigation items not updated after user switches tab bar item

I have a tab bar controller with 4 child view controller. Every time the user switches tab bar the navigation items at the top right are supposed to change. They do change, except for one scenario (user going from the third tab). I must admit that…
Cesare
  • 9,139
  • 16
  • 78
  • 130
2
votes
2 answers

How to pass data backwards to a view controller after passing forward?

Im developing a quiz app and there is a second view controller that appears after the initial view controller where you are asked to answer a question. On the second view controller you the user must press a button to return to the initial view…