Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Segue between ViewControllers without trigger control?

Is there a way in Storyboard UI to connect two UIViewControllers by a segue, without setting an object (Button, cell, ...), triggering the segue? I want to fire the segue in code with performSegueWithIdentifier:sender: programmatically.

Why i want this is, i'd like to display a detail view controller, when a tableviewcell is selected, but only while the tableview is in editing mode.

like image 244
bijan Avatar asked Nov 06 '11 01:11

bijan


1 Answers

You can just control-drag from one view controller to the other. And then of course don't forget to give the segue an identifier.

like image 133
Firoze Lafeer Avatar answered Sep 19 '22 06:09

Firoze Lafeer