Reputation: 453
Please find the Image which shows my project storyboard.
Any sort of information required from me please let me know.
Upvotes: 0
Views: 785
Reputation: 3234
So, as discussed, the problem is the Segue from the login view controller to the menu view controller, the only issue is that the type of the segue used to do this was a show detail
segue, which needs to be a show
segue instead, which embeds the destination view controller in a UINavigationController
.
Your main menu class (using SWRevealViewController
) is expecting a UINavigationViewController
to perform it's segues, which it is not able to find since the destination class is not embedded in a Navigation View controller. Either change the segue to show
or you can choose to embed your destination view controller in a UINavigationViewController
, but I would recommend to do the former.
Just for your reference, here is an interesting read on the difference between the show
and the show detail
segues:
Hope this answers your question.
Upvotes: 1