Using storyboard, I create a UITableview with seven rows and also create seven UIViewControllers for each row. I want to navigate to the particular UIViewController when the particular row is selected. How do I navigate the UIViewController using the Segue method?
I tried it many times, but it did not work.
You can connect seven segues from your
UITableViewControllerto your sevenUIViewController. Eachseguesets a uniqueidentifier. Then in thetableview:didSelectRowAtIndexPath:method, you can useperfromSegueWithIdentifier:sender:method to fire the segue.