Title and Subtitle on Large Navigation Bar Swift
Asked Answered
R

1

11

I've seen similar posts on stack overflow, but haven't seen any specific to large navigation bars that change size as the user scrolls down.

What I would like to achieve is a left-aligned title and subtitle in my navigation bar that either hides or decreases in size the subtitle when converted to a regular navigation bar.

Other answers in SO such as this one: (https://mcmap.net/q/342006/-add-subtitle-under-the-title-in-navigation-bar-controller-in-xcode), create custom views, but they are commonly unresponsive to movements in the bar.

enter image description here

Any ideas on how to properly achieve this?

Reservist answered 11/8, 2018 at 21:59 Comment(0)
S
-1

You can use custom navigation bar as a navigation bar and hide default navigation bar.enter image description here

Sanjuana answered 21/4, 2023 at 14:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.