如何从UIViewController中的数据传递到SWRevealViewController
问题描述:
我想从AuthentificationController数据(登录/密码)传递给其与自定义赛格瑞“sw_front” 一个SWRevealViewController HomeController的存在AuthentificationController和HomeController的 之间没有关系我应该怎么做才能传递数据?如何从UIViewController中的数据传递到SWRevealViewController
如何使用SWRevealViewController
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。请参阅[如何提问](https://*.com/help/how-to-ask)。 – bated