I am trying to learn swift.
I have created two view controllers and can navigate between them based on a button click.
let welcomeScreen = storyBoard.instantiateViewControllerWithIdentifier("view2") as! ViewController2
self.presentViewController(welcomeScreen, animated:true, completion:nil)
This works, but when it transitions, it transitions from the bottom, so the new controller slides up from the bottom .
What I was hoping for was to slide it from the right-left rather than bottom - top.
Is there a way to do this?