NSGenericException', reason: 'Push segues can only be used when the source controller is managed by an instance of UINavigationController

后端 未结 11 688

so I\'m making an app with 5 view controllers, the first is embedded in a UINavigationController and the segue between the first 4 view controllers works fine. However intro

11条回答
  •  悲哀的现实
    2020-12-07 18:24

    add Navigation Controller to your initial view

    1. Select the initial view
    2. Go To Editor--> Embed In --> Navigation Controller.

提交回复
热议问题