iOS - UINavigationController, Hide navigationBar

前端 未结 5 1619
醉话见心
醉话见心 2021-02-20 15:52

I have a minor trouble hiding the navigationBar for my UINavigationController

I have added:

self.navigation!.navigationBar.hidden = true
<
5条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-20 16:01

    Look at this site: https://developer.xamarin.com/recipes/ios/content_controls/navigation_controller/make_the_nav_bar_disappear/

    This site says that "The behavior is slightly different depending on whether the Nav Bar is opaque or translucent"

    I hope it is helpful.

提交回复
热议问题