Segue between two view controllers

前端 未结 3 1880
耶瑟儿~
耶瑟儿~ 2021-02-19 17:02

\"enter

On my storyboard (shown above), I have a ViewController which holds an MKMapView w

3条回答
  •  囚心锁ツ
    2021-02-19 17:15

    Simplest way to do this is to select the View controller you want to be the root of your navigation hierarchy and choose

    Editor > Embed In > Navigation Controller
    

    This creates the new navigation controller and hooks up everything up for you.

提交回复
热议问题