Questions tagged [large-title]
46 questions
45
votes
6 answers
iOS 11 large navigation bar title unexpected velocity
I am trying to implement the iOS 11 native large navigation bar title on my new application. By calling below functions in viewDidLoad():
navigationController?.navigationBar.prefersLargeTitles = true…

Seop Yoon
- 2,429
- 3
- 14
- 18
37
votes
10 answers
How to set multi line Large title in navigation bar? ( New feature of iOS 11)
I am in process of adding large title in navigation bar in one of the application. The issue is title is little long so I will require to add two lines in large title. How can I add large title with two lines in navigation bar?
This is not about…

Jigar Thakkar
- 6,834
- 2
- 17
- 15
21
votes
5 answers
Image for Navigation Bar with Large Title iOS 11
AppStore app has an icon with an image on the right side of the NabBar with Large Title:
Would really appreciate if anyone knows how to implement it or ideas on how to do it.
BTW: Setting an image for UIButton inside of UIBarButtonItem won't work.…

Tung Fam
- 7,899
- 4
- 56
- 63
17
votes
7 answers
Default Font for UINavigationBar Large Title in iOS 11?
I know how to set the color and change the font for the large title in iOS 11, but I am having a hard time finding the default font and font size for the large title. I would like to reproduce the font elsewhere in the app. I have tried the…

SAHM
- 4,078
- 7
- 41
- 77
14
votes
5 answers
UINavigationBar with Large Titles - how to find extra height in iOS 11
When using prefersLargeTitles for a UINavigationController's UINavigationBar in iOS 11, the nav bar increases height. The increase is from 44 to 96 on the iPhones I have checked, but I think those numbers can change per device (or at least we need…

SAHM
- 4,078
- 7
- 41
- 77
13
votes
4 answers
Show search bar in navigation bar and large title also without scrolling on iOS 13
I’m attaching a UISearchController to the navigationItem.searchController on iOS 13. This works fine: I can use the nice iOS 13-style search bar.
However, I’d like see the large titles and searchBar by default.
I set…

Bonnke
- 896
- 1
- 12
- 24
10
votes
0 answers
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 setupNavigationMultilineTitle(titleText: String,…

letsbondiway
- 470
- 3
- 18
8
votes
1 answer
Assertion failure in -[UITableView _addScrollViewScrollObserver:] while using large title navigation ios 11
I have tab bar controller with view controller that has only a table view in it.
I am setting navigation bar large title using code:
if (@available(iOS 11.0, *)) {
[[UINavigationBar appearance] setPrefersLargeTitles:YES];
} else {
…

Umair Suraj
- 480
- 11
- 22
7
votes
1 answer
Is there any way to change the iOS Large Title left margin?
I would like to know if is there any way to change the iOS Large Title left margin property. I tried to find the answer for it on the web, but I did not succeed.
Extra question: is the default margin between items and the horizontal sides of the…

Augusto Carmo
- 4,386
- 2
- 28
- 61
6
votes
6 answers
iOS 11 scroll to top when using large titles doesn't work properly
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 have refresh enabled on my TableView and when tapping…

Bram-N
- 426
- 4
- 15
4
votes
2 answers
SwiftUI: How to align a NavigationBarItem with a large title navigation title?
No matter what I've tried I cannot get this navigation bar item to align with the large title on this View? I have tried padding or placing it in a VStack with a Spacer() but neither push it down. How can I properly align it?
var body: some View…

GarySabo
- 5,806
- 5
- 49
- 124
4
votes
1 answer
How to disable large title shrink when scrolling
I want to use large title navigation bar. But navigation bar is getting smaller when I scroll screen. How can I disable shrink to NavigationBar.
self.navigationController?.navigationBar.prefersLargeTitles = true

Yunus T.
- 569
- 7
- 13
4
votes
2 answers
iOS 10 - How to create custom Navigation bar large title
My app deployment target version is iOS 10. and I added navigation bar large title in my app. it is working as per need in above iOS 10. if I try to test this in iOS 10 it is not working. So I am trying to create custom Navigation bar large tile for…

Raj
- 485
- 9
- 18
4
votes
1 answer
Xcode lock view to bouncing navigation bar
Situation
I have a UIView that has a layout constraint to the bottom of the safe area. This is inside a UIViewController inside a UINavigationController. It works fine when the navigation bar is in-between the large title and the "regular" title.…

Hans
- 2,354
- 3
- 25
- 35
4
votes
3 answers
Large title, center alignment
I try to center the title in large title mode, but that code doesn't affect. In AppDelegate:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override…

Anton
- 339
- 5
- 15