我想从SecondViewController传递数据到我的FirstViewController,当我点击我的后退按钮(UINaviagtionController)。(重新) - 通过点击后退按钮后通过数据
对于来自FirstViewController通过我的数据给SecondViewController我这样做:
if segue.identifier == "showSecondVC" {
let vc = segue.destination as! SecondViewController
vc.rows = rows[pathForAVC]
vc.lap = lapTime[pathForAVC]
vc.indexPath = pathForAVC
}
但我不知道如何从SecondViewController传递数据给FirstViewController,我真的不明白,关于它的堆栈主题溢出。
我想转让,当我点击这里:
感谢。
感谢您的答案兄弟和谢谢你的网站在斯威夫特。我会做你的关于代表的教程。 – pierreafranck