uinavigationcontroller Questions

2

Solved

As it is said from the title, when I try to push UIViewController with UITableView in it and show LargeTitle, it shows for the very first moment and then hides to the small one. It's weird but thi...

5

Solved

I want to push a view controller onto the stack, then pop the first one that pushed the new one. -(void) someMethod { MegaSuperAwesomeViewController *tempVC = [[MegaSuperAwesomeViewController all...
Cogent asked 13/2, 2011 at 17:53

4

Solved

I have added a show segue from table cell in one view controller to another table view embedded in a navigation controller. When I click on the cell in the first view the segue works as expected an...
Goatskin asked 19/7, 2016 at 2:39

7

Solved

I have a UINavigationController with default value of it's navigationBar.prefersLargeTitles = true . I am switching that to false when I push into a new scene lets call it (DetailsViewController)...
Annulation asked 9/10, 2019 at 9:6

4

Hi I'm trying to migrate my Android Studio project from NavHost to AnimatedNavHost, so I have made this changing: Replace rememberNavController() with rememberAnimatedNavController() Replace NavHo...

20

Solved

I got an error message during navigating from first view controller to second view controller. My coding is like this one let vc = LoginViewController(nibName: "LoginViewController", bundle: nil) ...
Province asked 9/12, 2014 at 8:52

10

Problem: I have a UITableViewController embedded in a UINavigationController. Pressing a cell in the table view switches to another table view controller. In said table view controller, I'd like f...
Simulacrum asked 10/6, 2015 at 18:4

32

Solved

I need to execute an action (emptying an array), when the back button of a UINavigationController is pressed, while the button still causes the previous ViewController on the stack to appear. How c...
Ness asked 30/12, 2014 at 22:53

15

Solved

Been looking around on here for a while but can't seem to find a working solution. I'm trying to disable the swipe to go back to previous view gesture, in Swift. I've tried a variety of solutions...
Footlocker asked 30/7, 2015 at 18:48

3

Using SwiftUI how do I change the navigation bar's title size? Choosing between a standard or a large title.

9

Solved

I'm currently migrating my app on ios 7 and I've been stuck for hours on the new navigationcontroller/bar management. Before, when we had a navigation controller, we had a snippet like this : UIN...
Rahman asked 23/9, 2013 at 20:5

7

So when I have my OptionsViewController as the rootViewController in the AppDelegate didFinishLaunchingWithOptions... let rootVC = OptionsViewController() let navigationController = UINavigationCo...
Raddled asked 25/4, 2017 at 2:15

5

Solved

Is it possible to change the x-offset of the large navigation bar title? I would like to change the x-offset to 36pt.

8

Solved

I have a navigation view controller that upon action sends a segue to a tab bar view controller. Because of this segue the tabbed view controller inherits the navigation bar. I am trying to apply a...
Glycoside asked 16/4, 2015 at 13:48

7

I have a tab bar item on navigation controller connected with tab bar controller and i want to delete the title in swift Tab Bar Controller > Navigation Controller > View Controller Tab Bar Item ...

11

Solved

I have some views that show up in a navigation controller. Two of these views have a longer title for the navigation bar. The problem is that when the title is too long to fit, some characters ar...

11

Solved

So I'm wanting to add a "subtitle" under the title in the navigation bar in navigation controller. Mostly everything I look up so far wants me to use CGRect. I don't know a whole lot what that is ...

2

Solved

I have an UIStackView set up on the title view of the navigation bar in my app. It simply shows the icon of the app to the left of the title. In iOS 15 and earlier, this displayed fine. Right now, ...

7

Solved

I've been trying to redo the work on my app programmatically. (Without the use of storyboards) I'm almost done, except making the navigation controller manually. Currently, I only have 1 viewcontro...
Kookaburra asked 1/3, 2015 at 12:6

4

Solved

i am using navigationController (push and pop) but in a special case i have to show the next viewcontroller using modal segue , and when i dismiss that modal i want to pop the last viewController i...
Preece asked 25/8, 2015 at 10:14

16

Solved

I have a navigation stack, with say 5 UIViewControllers. I want to remove the 3rd and 4th viewcontrollers in the stack on the click of a button in the 5th viewcontroller. Is it possible to do this?...
Lundquist asked 23/4, 2012 at 13:30

2

In iOS 13, they have changed the way that the nav bar colors operate. Now they use UINavigationBarAppearance along with UIBarButtonItemAppearance to customize the nav bar, along with standardAppear...
Christianchristiana asked 15/9, 2019 at 1:24

14

Solved

How can I hide a navigation bar from first ViewController or a particular ViewController in swift? I used the following code in viewDidLoad(): override func viewDidLoad() { super.viewDidLoad() ...
Whig asked 23/3, 2015 at 11:48

28

Solved

How do you remove the back button text. Current back button: < Back Desired back button: < AnythingElse None of these have worked: self.navigationItem.backBarButtonItem?.title = "...
Harebell asked 12/2, 2015 at 6:55

2

Solved

i have embedded SearchController in navigation bar . How to Change UITextField Color The one which Holds search String To White .?
Edinburgh asked 14/12, 2017 at 13:8

© 2022 - 2025 — McMap. All rights reserved.