Xcode 6 Storyboard Unwind Segue with Swift Not Connecting to Exit

前端 未结 11 1994
栀梦
栀梦 2020-12-02 09:20

When trying to connect a Navigation Bar Button to the Exit item of a ViewController in Xcode 6 (not really sure if it\'s an Xcode 6 problem but worth mentioning as it is in

11条回答
  •  不思量自难忘°
    2020-12-02 09:48

    If it's always the same presenting view controller that you'd like to unwind to, you can always just do:

    self.navigationController?.popViewControllerAnimated(true)
    

提交回复
热议问题