Upvote:3

Aprove answer
[self dismissViewControllerAnimated:YES completion:Nil];

Credit Goes to: stackoverflow.com

Related question with same questions but different answers