1

I have button on a UITableViewCell designed in an external nib. I was wondering how to create segue to a view on the storyboard editor from this button.

I'm a little new to all this, so if you could explain the process I'd be really grateful.

4

1 に答える 1

3

You can't exactly do that. Assuming the table view that will hold the custom cell is in a view controller within the storyboard, you can create a segue from that controller to the target controller and give the segue a name. Then, when the cell's button is tapped, have it tell its controller to call performSegueWithIdentifier:sender:.

于 2012-11-28T12:24:06.490 に答える