I have a UITableViewCell created in an external Nib from my storyboard. I have set up a segue from the UITableViewController to another ViewController which works nicely when tested.
I was wondering how would I get the UIButton in the Nib to call
[performSegueWithIdentifier:@"identifier" sender:self]; when it’s pressed.
Any ideas? I’m still very amateurish so if you could explain quite clearly I’d really appreciate it.
Regards,
Mike
You can also accomplish the same thing on the storyboard; right click the button and drag the arrow to the viewcontroller you want to navigate to, it will give the segue options (push, modal, custom) and just select one.