Here is the one way to dismiss present view controller and move back to previous view controller. You can do this through Storyboard only.
- Open Storyboard
- Right click on Cancel button and drag it to previous view controller, where you want to move back to previous controller
- Now release the right click and you can see some actions which performs on cancel button
- Now choose "popover present" option from list
- Now you can dismiss your current view by click on cancel button
Please try this, It's working with me.
Second Way - Use - navigationController.popViewControllerAnimated(true)
Best luck..