How to correctly set UINavigationBar height in iOS 11
问题 In my iOS 9+ app I use UINavigationBar in some of the UIViewController s "manually" (= placing them directly in the VC instead of using UINavigationViewController ). Setting a height for such a UINavigationBar using a simple contraint was no problem before. However in iOS 11 the bar itself still correctly uses the assigned size, but the content is not positioned correctly any more (is now alligned to the top). Any idea how to solve this? EDIT: I am pretty sure, that this is not a duplicate of