How pass data in seque ios5 storyboard uitableview to detail view

后端 未结 5 1053
失恋的感觉
失恋的感觉 2020-12-04 18:47

I\'m creating an app in ios5 using storyboards. I have a tableviewcontroller embedded in a navigation controller and when you click on the cells in the tableviewcontroller s

5条回答
  •  情话喂你
    2020-12-04 19:01

    Don't need Call: [self performSegueWithIdentifier:@"mySegueId" sender:self];

    you could use NSIndexPath *selectedRowIndex = [self.tableView indexPathForSelectedRow]; to get your selected info, in your - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{...} function.

提交回复
热议问题