title: How to programmatically return to previous view controller without navigation controller
body: <p>I want to return to the previous/root view controller after a certain method finish running. I have found code that could work but I'm not using a navigation controller. I have tried <a href="https://stackoverflow.com/questions/29132511/programmatically-changing-view-controllers-without-navigation-controller-swift">Programmatically changing View Controllers without Navigation Controller Swift</a> but I am not sure how to code it in obj-c. Please help!</p>
  
  <p>Thanks in advance!</p>