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

PushViewController shows Black Screen

i have a problem with my App. I´m not an experienced programmer, so maybe it´s just a simple solution. I thought this problem exists because i´m just trying things and play with my app so i made a new App and there´s the same problem. When i push…
0
votes
1 answer

Pushing and Popping ViewControllers using a Navigation Controller: Implementation

Like many others I started to code an experiment today where I would have two view controllers and be able to switch between them. I got this to work using a navigation controller, but I have a question about the implementation. In my…
0
votes
1 answer

Navigation Controller not inserting in some ViewController

I am trying to add navigation controller to all the viewcontrollers but when I try to do this using the Editor -> Embedded In -> Navigation Controller on the WelcomeViewController (Startup screen), the navigation controller is only added to login…
0
votes
1 answer

NavigationController is nil on pushing VC (simple project created programmatically)

I created simple project with two ViewControllers (ViewController and SecondVC) programmatically. In ViewController I've added a button, which push to SecondVC. In AppDelegate didFinishLaunchingWithOptions I've set ViewController as…
0
votes
1 answer

Update to Xcode 11.3.1 - navigationBar and half of the Views disappear after storyboard refactoring

Using Xcode 11.3.1, Simulator11.3.1, iPhoneX, Swift5.1.3, iOS13.3, I am wondering why half of my app suddenly disappears !! Could it be the update to Xcode 11.3.1 ??? The following shows a screenshot of the Xcode Debug View Hierarchy. The left side…
iKK
  • 6,394
  • 10
  • 58
  • 131
0
votes
1 answer

tabBar navigation and building detail tables from UITableView

I am using four tabs in my tabBar navigation, the third tab accesses Core Data to load a table which does get loaded successfully. I am having a problem creating a detail table. I have my detail nib file set up and connected. I also have the data…
0
votes
3 answers

onActivityResult from Activity to Fragment

I have a problem regarding onActivityResult. First, I opened the Add New Message Fragment to select the image. When I select the image, it doesn't return the result to my current fragment. I put onActivityResult in both my MainActivity and…
0
votes
2 answers

UINavigationItem out of sync when using popToRootViewController

I tap a tab bar item, which triggers poptoRootViewControllerAnimated. Most of the time it works as expected, but in some cases it pops to the correct view, but the navigation item is out of sync, "stuck" from the view i previously was at. I've read…
trydis
  • 3,905
  • 1
  • 26
  • 31
0
votes
1 answer

iphone UITableVIew (Navigation-based )

I'm working on a navigation-based application. My rootViewController contains 3 cells -When the first one is pressed a UIViewController is pushed (THIS WORKS) -The problem is with the 2nd and 3rd cells that are supposed to push a…
Dani A
  • 3
  • 1
0
votes
1 answer

BottomNavigation with NavController doesn't retrieve/parse arguments correctly

I'm having some trouble retrieving arguments in a Fragment using BottomNavigation and NavigationUI. I retrieve null value after navigating to an addOrderFragment(picture). I'm out of ideas why this doesn't work. Navigation layout:…
xblaz3kx
  • 341
  • 1
  • 3
  • 15
0
votes
1 answer

Convert Bottom Navigation Activity to Fragment

Im trying to use the android Bottom Navigation activity as a fragment but the Android Studio 3.5 use new NavController and NavigationUI which is giving me hard time to figure out how it works and return a run time error. public class BottomFragment…
0
votes
1 answer

Qt Iphone-like navigation Controller

I'm new to Qt. This is simply great. I was wondering whether you guys knew if there happened to exist some kind of navigation controller function like you can find on Iphone... What I mean is I want to have one MainWindow and slide between different…
Miky Mike
  • 341
  • 6
  • 17
0
votes
0 answers

push view controller doesn't work from collection view cell

when I try to navigate new view controller the code run but don't do the job the code for cell : protocol NavigateViewControllerDelegate { func navigate(destination : String) } class LoginCell : UICollectionViewCell { var delegate :…
0
votes
1 answer

How does 'default' bottom navigation view changes fragments?

I've seen many articles how to implement bottom navigation view, but none of those solutions looked like one from new project created with Bottom Navigation Activity: BottomNavigationView navView =…
DzikiChrzan
  • 2,747
  • 2
  • 15
  • 22
0
votes
1 answer

MultipleDetailViews with navigation controllers on both sides of SplitViewController

I need to show a list of categories on the left, and when a user selects a category, I need to show a list of items of the selected category on the right. Then, if a user selects a list item on the right, I need to show the details of the selected…
mezulu
  • 1,155
  • 1
  • 12
  • 22