【发布时间】:2018-03-01 22:44:47
【问题描述】:
我想将数据(登录/通过)从 AuthentificationController 传递到 HomeController,该 HomeController 与具有自定义 segue 'sw_front' 的 SWRevealViewController 相关 AuthentificationController 和 HomeController 之间没有关系 我应该如何传递数据?
如何使用 SWRevealViewController 向 HomeController 发送数据
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let secondView = storyboard.instantiateViewController(withIdentifier: "swreveal") as! SWRevealViewController
// passing the data here
self.present(secondView, animated: false, completion: nil)
【问题讨论】:
-
欢迎来到 SO。请参考How to ask a question。
标签: ios swift3 swrevealviewcontroller