ios - How to navigate from xib to other xib in swift? -
i want navigate xib controlled swift class other xib controlled objective-c class.
here code:
let cb_main_noticeview = cb_main_notice(nibname: "cb_main_notice", bundle: nil) cb_main_notice self.navigationcontroller?.presentviewcontroller(cb_main_noticeview, animated: false, completion: nil)
** didn't work **
note: cb_main_notice controlled objective-c class
self.presentviewcontroller(cb_main_noticeview, animated: false, completion: nil)
juste remove navigationcontroller, if don’t have navigation controller in app.
Comments
Post a Comment