photosynthesis photosynthesis - 1 month ago 17
iOS Question

Jump to a specific view in navigation controller

I have 4 view controllers (A,B,C,D) and they are connected in this order, and a navigation controller pointed to A. My question is is there a way for me to jump from A to C directly?

Answer

You can create a UIStoryboardSegue that connects A to C, then call performSegueWithIdentifier: with the corresponding ID in the segue to trigger it.

Comments