I’ve finished the CustomLoginDemo and I wanted to add the ability to go back from the SignInViewControler to the Root View Controller.
I’ve added a Swipe Gesture Recognizer and implemented that into my SignInViewcontroller with the action func ‘swipeRight’.
I’m not quite sure how to implement the transition from the SignInViewController back to the view controller with a swipe right along with the corresponding animation.
I’ve done it with the standard ‘show’ before, however, the animation is the opposite of what I’m looking for - swiping right scrolls the root view controller in from the right instead of the left, which looks more natural.
Any idea how to switch this segue animation? I’ve Googled and Youtubed for hours to no avail, along with searching these forums.
EDIT: Upon further review, it looks like I’ll have to create a custom segue and use that?