Constraints can be assigned to UINavigationBar that is added manually to the view.
But when the UINavigationBar is added to a view when and the view is embedded in a Navigation Controller, I am not able to add constraints to the same.
My objective is to increase the height of the UINavigationBar
UINavigationBar does not allow to assign constraints to itself. The only easy way that the height can be changed is by adding a space to the prompt property.
To increase the the height of the UINavigationBar there are two steps:
Note: All the views under that particular Navigation Controller will have the new height
Code Snippet:
Code Snippet: