2
votes

I want to make a navigation bar that changes height in it's detail view just like the messages app in iOS 10. How can I do that?

Edit:

I am looking to change the height dynamically. SizeThatFits() Permanently changes the height.

Resizing Navigation Bar

1
The article you sent me asks to set a custom height. I want mine to resize when it's in detail.evenwerk
Apple has a sample app that shows a few different modifications to the navigation bar, including something quite similar - probably a good place to start: developer.apple.com/library/content/samplecode/NavBar/…DonMag
I have checked the sample app but the extended navigation bar doesn't have the same behaviour as the gif in my question. The sample app has a UIView added below and the gif's Navigation Bar resizes when it goes into detail.evenwerk
@evenwerk did you find an answer for this?user2995344

1 Answers

0
votes

If you are trying to do something else that requires the navigation bar to be resized, that's not supported. iOS 11 and Above Community bug reports