Skip to main content

All Questions

Tagged with
0 votes
1 answer
86 views

Why the view.safeAreaInset is same for Opaque and Transparent UINavigationBarAppearance?

When we use the old way of making the navigation bar translucent or opaque using isTranslucent property on the navigation bar, the view's safeAreaInset returns some value other than 0 for the ...
the monk's user avatar
  • 459
5 votes
1 answer
3k views

Why the NavigationBar background color not change?

I need to change the navigationBar background color when the user chooses different Theme style. But the strange thing is, after the user chooses the "Dark" mode, then enter into backgorund, ...
stephen's user avatar
  • 589
0 votes
1 answer
125 views

Not able to change the Light shade of iOS UINavigationBar in Xamarin Forms 4.5

I am trying to remove the light shade of Navigationbar in ios. Below is the code I tried. Also tried different scenarios, still the shade is not removed. I am using XF 4.5.0.356. Is there anything to ...
ayana sudhi's user avatar
1 vote
1 answer
2k views

How can I make the inline navigation bar transparent before scrolling in SwiftUI

I'm want to make the inline navigation bar transparent so it matches the view background but only before scrolling. Once you scroll I would like to use the default navigation background color, just as ...
Happygallo's user avatar
1 vote
2 answers
4k views

Transparent navigation bar iOS 13

Can't create transparent NavigationBar iOS 13. I have custom UINavigationBar, where I configure UINavigationBarAppearance in override init(frame: CGRect) { super.init(frame: frame) self....
clover4leaf's user avatar
0 votes
0 answers
120 views

Search bar behavior inside Navigation Bar is inconsistent in iOS 13

I am trying to include search bar inside the navigation bar through navigation item of the view controller. override func viewDidLoad() { super.viewDidLoad() self.view.backgroundColor = ....
Prasad's user avatar
  • 176
6 votes
3 answers
4k views

Hide Navigation bar separator line on iOS 13

I have a view controller with a navigation bar with a large title. When I push the controller, only on iOS 13 is a line visible under the Navigation bar. How can I solve it? I have already tried ...
Lorenzo S's user avatar
0 votes
1 answer
162 views

Customizing UINavigationBar's barTintColor and title text color in Xcode 11.4

Customizing the UINavigationBar in Interface Builder (specifically customizing both the bar's barTintColor and the title text color) seems to have become very buggy in iOS 13. Here is a video fo me ...
Craig Grummitt's user avatar
1 vote
0 answers
30 views

StatusBar text color doesn't change to Light Content [duplicate]

There is an issue with the status bar text color in my app, it doesn't change when using override var preferredStatusBarStyle: UIStatusBarStyle { return .lightContent } I want to specify ...
Ahmed Abd Elaziz's user avatar
10 votes
0 answers
1k views

Multiline navigation bar title truncating on iOS13

I have a view controller where I need to display multiline title on the navigation bar. For this, I have written a protocol like this - import UIKit protocol CustomNavigationBar { func ...
letsbondiway's user avatar
1 vote
1 answer
859 views

Padding wrong when presenting second modal navigation controller on iOS 13

On iOS 13, when presenting a second modal view controller over a first one, the padding is incorrect on the button bar items. In particular, the right margin disappears. How should this be fixed?
Tad's user avatar
  • 4,756
3 votes
0 answers
1k views

Make navigation bar transparent and change it to opaque while scrolling iOS 13

I am working on UIViewController that contains a UIScrollView and it is constraint to the top of the view like that. for setting the transparency for the navigation bar I use the following function: ...
Reimond Hill's user avatar
  • 4,620
-1 votes
1 answer
128 views

UINavigationController weird transparency behaviour when presenting

I'm experiencing a weird glitch with the transparent navigation controller. When presenting a view controller with a UIImage at the top of the navigation controller: at first presents half of its ...
Jorge Frias's user avatar
  • 1,367
0 votes
1 answer
74 views

Change navigation bartintcolor

The navigation barTintColor doesn't change when "prefers large titles" is selected. I tried changing it from Attribute Inspector and also programmatically. I can see the color change in storyboard but ...
chamlingd's user avatar
2 votes
1 answer
768 views

Navigation Bar's content partially not visible in modal on iOS 13

A storyboard based application is having issue rendering the navigation bar's content when the navigation bar is displayed in a modal screen, but only when on a physical device. The code behaves ...
ekscrypto's user avatar
  • 3,776

15 30 50 per page