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

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -