Create a modal view with navigation bar and back button

后端 未结 2 1253
别跟我提以往
别跟我提以往 2020-12-29 16:29

I want to create a modal view with the navigation item (right view on my screenshot) and I want it to have a \'back button\'. My app is TabBar application and I don\'t want

2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-29 16:47

    You will need to wrap your right hand side view controller in a new navigation controller. In IB, select it and choose the menu item Editor -> Embed In -> Navigation Controller and IB will show a nav bar which you can customize to your heart's content.

提交回复
热议问题