uinavigationbar Questions
13
Solved
I want to set the UINavigationbar backgroundColor to a gradient color where I would like to set it via an array of colors to create a Gradient, ideally, as accessible methods inside UINavigationBar...
Peshawar asked 17/6, 2015 at 6:48
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
11
Solved
Code below is not working for me, can anyone help to figure it out what is wrong?
var image = UIImage(named: "10384605_10152519403846670_5189785375955620548_n.jpg") as UIImage
self.navigationCont...
Important asked 20/6, 2014 at 13:24
15
I am trying to hide the navigationBar when putting some SwiftUI inside of a UIKit UIViewController:
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.navigation...
Orlan asked 5/11, 2019 at 4:49
5
I'm trying to add a Navigation Bar in a xib, but the navigation bar does not fill to the top, it leaves space above it where the camera notch is. See the screenshot below:
Here are my constraint...
Disperse asked 11/12, 2018 at 18:27
7
Solved
I am trying to use UIKit's internal back button image.
I have asked this question before and got the technically correct answer that it inherits it from the previous View, BUT if I insert this code...
Twomey asked 4/8, 2015 at 11:23
12
I would like to make my Flutter app take up the entire screen in Android while still showing both the status bar and the navigation bar, with both of them transparent, to achieve the full screen lo...
Sausauce asked 15/6, 2019 at 7:6
37
Solved
I am using a Picker View to allow the user to choose the colour theme for the entire app.
I am planning on changing the colour of the navigation bar, background and possibly the tab bar (if that i...
Copyreader asked 10/7, 2014 at 22:18
4
Solved
I'm updating an app that was compiled on Xcode 10 and running fine up through iOS 13. I wanted to make some changes so recompiled on Xcode 11 and now have a problem with the barTintColor.
If 'Lar...
Benoit asked 22/3, 2020 at 1:20
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...
Gq asked 20/7, 2019 at 12:14
50
Solved
I have an app that sometimes needs its navigation bar to blend in with the content.
Does anyone know how to get rid of or to change color of this annoying little bar?
On the image below situati...
Ronnyronsard asked 7/10, 2013 at 14:4
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...
Pomp asked 13/2, 2021 at 14:50
6
I want the content of the collectionView to start from the very top of the screen (top of status bar) because I have transparent navigation bar, I want to avoid magic numbers and it should work wit...
Wavy asked 11/12, 2017 at 12:48
5
Solved
We have a modulised App using two Navigation-hierarchies, therefore the two stacked Navbars…
Sometimes, when pulling the refreshcontrol the navbar stays big and does not drop back to the normal s...
Bogart asked 29/11, 2017 at 13:16
12
Solved
I have a Navigation Bar in a view, and I want to change its Navigation Item title programmatically.
How is this done?
Heterosexual asked 27/5, 2011 at 15:13
2
Solved
I'm just wondering what UINavigationBar's default color is (on the iPhone).
I can't find it anywhere, and calling CGColorGetComponents() on navigationBar.tintColor.CGColorRef has no effect.
For e...
Rimmer asked 16/1, 2011 at 5:59
10
Solved
The drawer has this default three horizontal bars as default icon but I want to change it to something else.
I have checked the possible options under the Drawer(), but no property seems to be atta...
Largo asked 1/1, 2020 at 16:54
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
When using large titles and tapping the status bar to scroll to the top of a UIScrollView or UITableView (probably also UICollectionView, haven't tested this) it always goes a little too far.
I ha...
Sawyer asked 31/5, 2018 at 13:14
8
I used this code to use a custom image as the back button in the whole app.
[[UINavigationBar appearance] setBackIndicatorImage:[UIImage imageNamed:@"back"]];
[[UINavigationBar appearance] setBack...
Pants asked 31/3, 2014 at 17:35
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...
Morry asked 17/4, 2013 at 20:33
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
18
Solved
I want to customize my app's look by using a logo image as the navigation bar's title, instead of plain text. When I use this code
let logo = UIImage(named: "logo.png")
self.navigationItem.titleVi...
Selenography asked 17/7, 2014 at 12:9
4
Solved
On iOS 7.0.3 turning on increased contrast mode removes the blur effects you'd normally see in the nav bar if you're using a bar tint color with an alpha less than 1.0, which makes the nav bar seem...
Magallanes asked 31/10, 2013 at 22:10
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...
Oxazine asked 5/12, 2014 at 4:35
1 Next >
© 2022 - 2025 — McMap. All rights reserved.