Is it possible to link a segue from a UITableViewCell to another UIViewController.
This UITableViewCell is dragged from library and statically placed within a UIViewController.
Screenshot: https://i.stack.imgur.com/gBe6a.png
Is it possible to link a segue from a UITableViewCell to another UIViewController.
This UITableViewCell is dragged from library and statically placed within a UIViewController.
Screenshot: https://i.stack.imgur.com/gBe6a.png
Yes, you can.
2 ways:
First:
- control-drag from the cell prototype to the destination controller
- in prepare for segue, set the destination controller properties according to the selected cell
Second:
- create a segue from the first controller (control-drag from the yellow icon at the very top to the destination controller)
- when selecting the cell, trigger the sehue
- here also, prepare for segue
Did you solve your issue ?
If so, please close the thread, otherwise explain what is the remaining problem.