You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an instance of a OnboardingViewController named HomeViewController on my Storyboard and it is set to be the 'Initial View Controller', followed the example here: #31 (comment)
It's showing the Onboarding flip-book, but when I try to use a Segue after they hit the last button it chucks up the error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver (<HomeViewController: 0x7fc8cbdaaf70>) has no segue with identifier 'GO''
I've played around with calling it from a __weak typeof(self) weakSelf = self;, or using self.parentViewController, and a bunch of other ways with no luck.
Is there a way to do this? I would much rather do it this way than the appDelegate way. It all seems to be working except for pushing to the next view controller.
Many thanks
The text was updated successfully, but these errors were encountered:
hmm perhaps that's the problem. I'll have to look again at the example you posted a link to, but whenever I've implemented this the transition from the onboarding to the app itself has never been a push, it's always been a direct swap of the root view controller of the app. I don't mess around with storyboards and segues often, so I don't know how much I would be able to help without maybe a sample app to run?
If you could get me a sample project I could tinker with, I'll try and see what's going on. In the meantime - I'm going to close this until there's an update.
Hi there,
I have an instance of a
OnboardingViewController
namedHomeViewController
on my Storyboard and it is set to be the 'Initial View Controller', followed the example here: #31 (comment)It's showing the Onboarding flip-book, but when I try to use a Segue after they hit the last button it chucks up the error:
This is how the page is created:
I've played around with calling it from a
__weak typeof(self) weakSelf = self;
, or usingself.parentViewController
, and a bunch of other ways with no luck.Is there a way to do this? I would much rather do it this way than the appDelegate way. It all seems to be working except for pushing to the next view controller.
Many thanks
The text was updated successfully, but these errors were encountered: