UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

Navigation bar - Prefer Large Titles bug?

Forums > iOS

Hi! I've just started to learn Swift and I'm doing an online beginner course (Udemy: build a to do app). I have a navigation controller and a table view controller. I want to change the navigation bar style, so set a custom color for the "bar tint" on the navigation controller. It works well. But when I checked the "Prefer large titles" box, the custom color turns into black. I think it's a bug. How can I fix it? I've seen a lot of you tube video, but neither of them helped. xCode version is 11.4.1. swift version is 5.

3      

Hi!

Customizing navigation bar is a bit tricky. How exactly are you setting the color? With Appearance?

3      

I tried it on the Storyboard. Picked the Navigation Bar item (inside the Navigation Controller Scene), than made the changes on the Inspectors panel.

3      

3      

Hacking with Swift is sponsored by Essential Developer

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.

Click to save your free spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.