navigationcontroller Questions

9

in the fragment which i made it host in the tag fragment in activity when i use navController = Navigation.findNAvController(view) the app crashes by the error: View does not have a navController s...

3

Solved

I am using Kotlin and have all references added in my project. // Navigation implementation "android.arch.navigation:navigation-common-ktx:$rootProject.nav_version" implementation "android.arch.na...

7

I fetch this below code from But getting this below error: spend already more the 3 hours but not any success. Please help me to solve this error.
Branchiopod asked 2/3, 2019 at 10:23

3

I am using Navigation control (Android Architecture). I used some demo and creating navigation architecture. But the problem is, fragment is getting recalled every time just like: replace fragment ...
Horbal asked 15/5, 2019 at 6:35

5

Solved

I am using navigation controller, and I've set to true its navigation bar's prefersLargeTitle property. Everything works fine, but when the text of my title becomes too big, it doesn't fit in space...
Earwitness asked 6/11, 2017 at 22:4

4

I am using Navigation component. when navigating I want to not create new instance of fragment if it already exists in backstack and pop that already existing in front. findNavController().naviga...

7

Solved

I have an application with a navigation bar that pushes to a login screen view controller and then pushes to a main menu. Is there any way I can remove the back button off the main menu, so the use...
Balmuth asked 29/2, 2012 at 12:46

5

Can I customize the color of the navigation bar in the QlPreviewController controller? I have tried following [[UINavigationBar appearanceWhenContainedIn: [QLPreviewController class], nil] setBar...

2

Solved

I have added a NavigationController in the StoryBoard and made it the initial viewController. How do I get access to the NavigationController in the appDelegate. Ctrl-drag from navigationController...
Anceline asked 31/7, 2014 at 8:10

1

Solved

I'm currently making an app with bottomsheet feature which when the user taps an icon(imageview) inside the dialog the fragment will show up. my problem is I cant navigate to fragment b and it's re...

9

Solved

I would like to add a shared elements transition using the navigation architecture components, when navigating to an other fragment. But I have no idea how. Also in the documentations there is noth...

7

First of all, this isn't a duplicate. I've looked at all of the questions related to this on SO and none of them work for me. Hopefully it's just because I'm new to iOS development but I suspect th...

2

So I'm wondering how I can move the search bar in my app (which is currently displayed below the navigation bar, into the navigation bar. Right now, I have a function called makeSearchBar(), whic...
Desouza asked 4/1, 2018 at 22:43

5

In my code I am using presentViewController to call my second viewcontroller [self presentViewController:secondController animated:YES completion:nil]; When I call I need to show left to right a...

6

Solved

When I push a new ViewController onto a navigation controller stack the "back" button is the Title of the previous controller. How can I change the text in the back button to "Back" instead of the...
Ronel asked 13/1, 2010 at 0:9

20

Solved

I keep getting the following errors: 2011-04-02 14:55:23.350 AppName[42430:207] nested push animation can result in corrupted navigation bar 2011-04-02 14:55:23.352 AppName[42430:207] nested push ...

2

Solved

I have problem with proper passing data between view's but not in standard way. Picture describing my problem: I performSegueWithIdentifier with one of two segue identifiers and then in I want ...

5

Solved

I want to call a new view controller and remove the current view controller from the navigation controller stack. For example. I am in view controller A and I call B. Now I have in the stack A , B...

4

Solved

I want to check if the view controller i am in is root view controller or is pushed on some navigation controller.
Administration asked 9/12, 2014 at 11:38

2

Solved

I have been recently learning iOS development and a friend tells me that it's good practice to embed views in Navigation Controllers. Is that true and if so why? What does embedding a View Control...
Dried asked 23/10, 2014 at 2:32

4

I was trying to customize the look of the Navigation Bar Title in my app. I had to build a Custom Navigation Controller (not just for this issue), so I thought to override the setTitle function li...
Tingaling asked 17/11, 2011 at 11:48

3

Solved

I have a my views and controllers set up like so. A Tab/Bar controller Within 1. is a root view controller within 2. is a programmatically created navigation controller, that is displayed as a su...

2

Solved

I developed iPad application. I'm opening some screens in popover with navigation controller. But I did not change navigationcontroller tint color in IOS 7. How can I change this color. thanx UI...
Leigh asked 30/9, 2013 at 13:13

2

Solved

I understand the difference between dismissViewControllerAnimated:completion: and popViewControllerAnimated:, as described on Stack Overflow and here: -dismissViewControllerAnimated:completion: ...
Youngster asked 29/10, 2013 at 20:22

2

Solved

I have an iPad app with splitview and a right bar button in the navigation bar of the detailviewcontroller. This button calls a popover constituted of a navigation controller and two table views. ...
Benevolence asked 27/11, 2012 at 19:25

© 2022 - 2024 — McMap. All rights reserved.