hyekyung
hyekyung

Reputation: 671

In storyboard, how to push segue without button click

I'm an iphone app developer. I'll use storyboard.

I want to push each other ViewController in conditions without button click. Can I get solution? Thanks!

Upvotes: 0

Views: 1657

Answers (2)

samson
samson

Reputation: 1152

You can also use performSegueWithIdentifier:sender:, if everything's already set up in interface builder. You'll need to specify the "identifier" in the Attributes inspector.

Upvotes: 1

Pochi
Pochi

Reputation: 13459

You can :

Presenting View Controllers from Other View Controllers

taking the desired view controller from your storyboard with:

instantiateViewControllerWithIdentifier:

Upvotes: 0

Related Questions