unwind segue vs. popViewControllerAnimated
问题 I have a mapview that is connected to several viewControllers. I needed to implement an 'unwind' from another button (as opposed to just the back button), so I used: self.navigationController?.popViewControllerAnimated(true) My question is: as the above works, should I even bother trying to implement unwind in code using prepareForUnwind and canPerformUnwindSegueAction in the parent view controller + ctrl-drag from the viewController to exit in Storyboard? If so, why? 回答1: Basically if you