Presenting a Modal View Controller hides the Navigation Bar

后端 未结 9 977
灰色年华
灰色年华 2021-01-04 00:58

I have a navigation based app with a navigation bar, but there are a few instances where instead of pushing a view controller onto the stack, I need to present the view cont

9条回答
  •  温柔的废话
    2021-01-04 01:19

    If you present a controller as model, View controller will appear to total view.

    If you want to access the navigation controller properties over the model view, You need to create another navigation controller reference and it continues as previous.

    This may be useful for you.

提交回复
热议问题