开发者

How to restore the Navigation Bar height

开发者 https://www.devze.com 2023-04-13 05:52 出处:网络
I accidentally increase the size of UINavigation controller. But i am unable to found a way to change its height back to the normal height from size inspector or开发者_Python百科 interface builder.

How to restore the Navigation Bar height

I accidentally increase the size of UINavigation controller. But i am unable to found a way to change its height back to the normal height from size inspector or开发者_Python百科 interface builder.

The size inspector is not allowing me to edit its height. Any idea to restore it to its original height in interface builder.


Actually what happens you mistakenly change the 'Top Bar' value from attributes inspector.

What you need to do set it 'Navigation Bar' instead this 'Navigation Bar With Prompt'.

see in the image

How to restore the Navigation Bar height


You could just drag in a new one and reconnect any outlet.


Delete this navBar and assign new one

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号