Last active
October 30, 2019 07:57
-
-
Save siberianisaev/4fa28cb830d51d4b5803 to your computer and use it in GitHub Desktop.
Change height of UINavigationBar
@avaDeveloper, it's called internally by the navBar, you don't explicitly call it.
when i use this my title view and buttons are off center closer to the bottom
@felixdkatt you should be able to transform the view within sizeThatFits()
to resolve this in iOS 10 and below:
self.transform = CGAffineTransformMakeTranslation(0, -(heightDelta));
But this hack appears to be broken in the iOS 11 beta and it doesn't look likely that it will be fixed according to this thread.
Please update it for the latest Swift.
Thanks, here is its swift 3 version
What is the usage for this? Where should I put the height?
what is the usage for this?
Dosen't work with iOS 13.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks a ton for this!