uinavigationcontroller Questions

4

Solved

My View Controller embedded inside a navigation controller holds a WKWebview on which I want to enable the following logic: If a back item exists in the webview, making a left screen edge gesture ...
Camus asked 21/7, 2016 at 9:29

7

I have a navigation bar to which I have added right BarButton successfully. Both the NavigationBar and BarButton are created programmatically. Now according to my requirement I got to add two right...

25

I wonder if its possible to set a new root VC? My app gets init with a uinavigation controller that has a table view to be the root VC. Then from the table view I am running another segue to a lo...
Sumpter asked 27/10, 2015 at 17:8

18

Solved

I need to customise the look of a back button in a Swift project. Here's what I have: Here's what I want: I've tried creating my own UIBarButtonItem but I can't figure out how to get the image...
Clone asked 31/5, 2016 at 18:15

11

Solved

So I have a navigation controller in my built for iOS 7 app. The titleView is visible, as well as the back button and navigation bar its self. For some reason, the interactive pop gesture (swipe fr...
Auscultate asked 22/9, 2013 at 16:52

11

Solved

I need to detect when the user taps the "back" button on the navigation bar, in order to perform some operations when that occurs. I'm trying to set manually an action to such button, this way: [s...
Donohoe asked 16/9, 2013 at 9:6

7

In my UINavigationController I added custom back buttons with the side effect that it is not possible anymore to swipe left to right to pop the view controller and navigate back. So I implemented ...
Pruter asked 9/1, 2016 at 19:36

12

Solved

The home page of my app has UIButtons, btnIncome and btnExpense. Pressing on this buttons pushes IncomeVC and ExpenseVC respectevely,which are two UIViewControllers with UITabBar added via xib. The...

4

Solved

I am developing an app using SwiftUI. The app is based around a NavigationView. I am using a third-party framework that provides UIKit components and the framework has not been updated to support S...
Peepul asked 22/9, 2019 at 13:51

1

I am trying to understand why when I push UIHostingViewController with SwiftUI View in it to my navigation stack, there's a slight delay when the navigation title appears, as you can see from this ...
Pillowcase asked 17/3, 2023 at 14:49

8

Solved

is is possible to pop a view off the navigation stack and then push another straight onto it? I'm trying to implement a flat hierarchy for this section and would like to have a segmented controlle...
Triangulation asked 29/7, 2011 at 12:8

11

Solved

I am getting this error when I call my method dismissView. Here is the method stub: -(IBAction)dismissView { RootViewController *rootController = [[RootViewController alloc] initWithNibName:@"Roo...

5

Solved

Is there a clean solution on getting a callback or event on the view controller being dismissed (popped) by an interactivePopGestureRecognizer? To be clear I need some explicit method getting call...
Provide asked 17/12, 2013 at 16:6

10

I'm about creating an app using a UINavigationController to present the next view controllers. With iOS5 there´s a new method to presenting UIViewControllers: presentViewController:animated:comple...

4

Solved

In my project I used a navigation controller embedding a table view controller. But when I scroll up the table view a black background shows up (as shown in the .gif below) how can I fix this? Tha...
Rambert asked 20/8, 2015 at 14:31

2

I have a SwiftUI NavigationView in which I push to a to UIViewControllerRepresentable conforming UIViewController. The navigation view naturally adds its back button. However, all navigation bar bu...

2

Solved

When pushing from a SwiftUI view to a UIKit, navigation bar items are not present or not added. I have added one item in the storyboard and one item in code, neither show up. This is possibly a bug...

2

I present a NavigationController with a ViewController in it modally. In the ViewController I can see that self.navigationController.isBeingPresented is true. But if I now push a new ViewControll...
Diego asked 23/1, 2018 at 12:12

10

Solved

I need an instance of root view controller. I tried those approaches: UIViewController *rootViewController = (UIViewController*)[[[UIApplication sharedApplication] keyWindow] rootViewController]...

5

Solved

I pushed four screens ScreenOne >> ScreenTwo >> ScreenThree >> ScreenFour and I'm at ScreenFour now I want to pop back to ScreenTwo In Swift it works like this:: if let viewControllers: [UIView...
Incorporeity asked 6/12, 2019 at 12:6

3

Solved

I'm trying to call [[self navigationController] popViewControllerAnimated:YES] but making the animation slide right to left instead of left to right. Any easy way to do this? I want to return to th...
Solenoid asked 6/11, 2011 at 22:32

4

How can I set a large title for a single View Controller embedded in a Navigation Controller? Normally I am only able to set large titles for a whole Navigation Controller including all View Contro...
Pug asked 1/12, 2018 at 22:0

6

Solved

In my app, I have some custom titles (with lettering that isn't a font) stored in pngs that I want to put as the title of my navigation. I want the lettering in the titles all to be the same size f...

2

Solved

I'm using a UINavigationController to display some view controllers. I need to change the color of the navigation bar title every time I switch between two view controllers. This is what I'm doing ...
Magnetic asked 26/4, 2018 at 8:31

12

Solved

How to achieve the real time blurring effect for the navigation bar just like the Trailers app in iPhone. i.e As you scroll the contents should get blurred behind the navigation bar. Please help m...

© 2022 - 2024 — McMap. All rights reserved.