- 1.在你想回到的页面,写下如下方法
@IBAction func prepareForUwind(segue: UIStoryboardSegue){}
-
拖线
image.png
-
-
3.需要关闭的Controller代码如下
@IBAction func closedPressed(_ sender: UIButton) {
// dismiss(animated: true, completion: nil)
performSegue(withIdentifier: UWIND_TO_CHANNEL, sender: nil)
}
网友评论