- 1.在你想回到的頁(yè)面梨熙,寫(xiě)下如下方法
@IBAction func prepareForUwind(segue: UIStoryboardSegue){}
-
拖線(xiàn)
image.png
-
3.需要關(guān)閉的Controller代碼如下
@IBAction func closedPressed(_ sender: UIButton) {
// dismiss(animated: true, completion: nil)
performSegue(withIdentifier: UWIND_TO_CHANNEL, sender: nil)
}