Alex Rivera | Logout

How dismiss a viewController with storyboard from a push segue?

Asked 2012-04-23T04:53:29.077
10

I don't know why dismissViewControllerAnimated:completion:. I just want to do it.

I start with a

[self performSegueWithIdentifier:@"my_segue" sender:self];

But is I call the dismiss than nothing happens. I can create another segue, but it create a new view controller.

My question is: How dismiss the performSegueWithIdentifier:sender:?

Edit
Report

1 Answer

0

[my_segue_view_controller dismissModalViewControllerAnimated: YES] ?

(not sure, but it works in my practice)

answered 2012-04-23T06:02:15.047

Your Answer