Reputation: 1557
I have 4 ViewControllers (let's say A, B, C and D). A contains an UITableView and this allows user to navigate from A to B, A to C, A to D. How can I connect my Table cell to all these 3 (B, C, D) view controllers using segue? or any other possible work around? I am using Xcode 5 and storyboards.
Upvotes: 1
Views: 1204
Reputation: 4967
You can control-drag from the cell in the table view to the view controller you want to link to allow the user to navigate to that screen when that cell it tapped.
Here is how to do it:
This is the result (I added some elements to make it clearer):
Learn more about storyboards here.
Hope that helps!
Upvotes: 3