steve228uk / MessengerKit

:speech_balloon: A UI framework for building messenger interfaces on iOS
MIT License
1.48k stars 129 forks source link

when push/present subclass ViewController of MSGMessengerViewController #16

Closed nitinumaretiya123 closed 4 years ago

nitinumaretiya123 commented 5 years ago

got error from storyboard

let vc = CalmConstants.globalConstants.StoryBoard.instantiateViewController(withIdentifier: "ReadingVC") as! ReadingVC
 self.present(vc, animated: true, completion: nil)

where ReadingVC is subclass of MSGMessengerViewController

ridwan40046 commented 5 years ago

have you solve this?

sjoness commented 5 years ago

@nitinumaretiya123 It seems that you've forgotten to set the Storyboard ID for the view controller that you want to instantiate. You can set this in the Identity Inspector in the storyboard where ReadingVC lives.

@ridwan40046 do you have the same issue? Once you set the Storyboard ID, you should be good to go!

sjoness commented 4 years ago

Closing due to inactivity