Questions tagged [large-title]

46 questions
1
vote
2 answers

custom navigation bar with image and two titles in iOS

I am trying to achieve the following navigation bar with two titles and an image: Large title variant: Small title variant: I tried subclassing UINavigationBar and adding subviews to it, but they did not render at all. I tried setting a titleView…
WalterBeiter
  • 2,021
  • 3
  • 23
  • 48
1
vote
1 answer

UINavigationBar Large Title Ghosting

When tapping the back button in my UINavigationBar the small title becomes a large title but with a strange ghosting effect during the animation. Has anyone seen this before and/or know how to correct it?
Stuart Breckenridge
  • 1,873
  • 1
  • 16
  • 18
1
vote
1 answer

How to Use Image as title on large Navigation Bar?

I’m trying to set an image as the title on a large navigation bar. So far I can just get it to display the logo in the top centre like it would if it was a standard navigation bar. I’m trying to replace “All Inboxes” with an image. At the moment…
Nolan Ranolin
  • 409
  • 3
  • 16
1
vote
1 answer

Wrong large title animation with custom back button font

I just changed the font of the back button while using large titles in the navigation bar. This worked fine, but then I had the problem that the transition/animation of the small back button text to the large title of the previous page looked pretty…
Mitemmetim
  • 520
  • 3
  • 12
1
vote
1 answer

Navigation bar large title not indenting

I have a large title navigation and the title is not being indented to be in line with the UIBarButton items. How do I fix this?: Any help would me much appreciated, thanks.
D-A UK
  • 1,084
  • 2
  • 11
  • 24
0
votes
2 answers

Large navigation bar custom height

Is it possible to change large navigation bar height? self.navigationItem.largeTitleDisplayMode = .always self.navigationController?.navigationBar.prefersLargeTitles = true self.navigationController?.navigationBar.addSubview(expandedNavBar)
ChikabuZ
  • 10,031
  • 5
  • 63
  • 86
0
votes
3 answers

iOS 14 large-title navigation bar doesn’t come back after shrinking

My large title does shrink normally when scrolled, just like it's supposed to. But, it doesn’t come back large again even when I scroll to the top. When I build the project and open the app for the first time, the large title and search bar appear…
0
votes
0 answers

get the height of the large navigation bar programatically iOS

How do I get the height of a large navigationBar? Even when it is small? I know that it is 96 points, but when and where can I get this value programatically?
WalterBeiter
  • 2,021
  • 3
  • 23
  • 48
0
votes
1 answer

Update to Xcode 11.3.1 - navigationBar and half of the Views disappear after storyboard refactoring

Using Xcode 11.3.1, Simulator11.3.1, iPhoneX, Swift5.1.3, iOS13.3, I am wondering why half of my app suddenly disappears !! Could it be the update to Xcode 11.3.1 ??? The following shows a screenshot of the Xcode Debug View Hierarchy. The left side…
iKK
  • 6,394
  • 10
  • 58
  • 131
0
votes
1 answer

NavigationBar large title not collapse when I have custom image/view under tableView iOS 13

I have an issue with collapsing navigation bar with largeTitles enabled. Basically if there is nothing under the table view, everything is working fine. Once I am adding a default image under the table view, scroll is working on table view, but…
Bonnke
  • 896
  • 1
  • 12
  • 24
0
votes
2 answers

How to tweak large title in order to keep the transition but hide the large title itself?

From a UITabbarViewController I have a root view controller CarDetails as in the first image. This VC can scroll upwards as shown in the second image, with the large title transitioning to regular navigation display, with the title entered, on the…
0
votes
2 answers

How to set iOS 13 dark mode large title color?

In my app i use let navigationBar = UINavigationBar.appearance() navigationBar.largeTitleTextAttributes = [ NSAttributedString.Key.font: UIFont.SFProDisplay(ofSize: 34, weight: .bold), NSAttributedString.Key.foregroundColor:…
Nike Kov
  • 12,630
  • 8
  • 75
  • 122
0
votes
0 answers

swift4 UISwipeGestureRecognizer Viewcontroller with large title and cells not working

I have a ViewController with large titles. In my ViewController are 2 cells. UISwipeGestureRecognizer is not working by swiping down. I want to call a searchController with this swipe-action in the titleView. Could the reason be the large title ?(…
0
votes
1 answer

iOS LargeTitle with UISegmentedControl and childViewController (in a Container)

I have a UIViewController in my app that has a UISegmentedControl with three segments. Each one of them is a UIViewController that has a UICollectionView inside. When I set the large title to the main UIViewController, it shows the large title…
Augusto Carmo
  • 4,386
  • 2
  • 28
  • 61
0
votes
1 answer

Why disappear navigationBar backButtonItem? Swift4

I use largeTitleBar. When navigationBar.title has character over 20 bytes (in Case iPhone SE), backButtonItem.title disappears. (In case iPhoneX, 22 bytes) navigationBar.title becomes truncate affects this problem. But I don't have any idea to solve…
Tarou
  • 57
  • 7