嗨即時創建應用程序使用表視圖在故事板和迄今我能夠填充表我有它設置爲使4個單元格,並從每個單元格推到相同的視圖控制器,但我想要什麼要能夠做的就是每個單元帶我到一個新的視圖控制器表視圖多個段
這裏是我到目前爲止,如果你能在如何能夠做到點我在正確的方向,這將是巨大的
-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
if ([[segue identifier] isEqualToString:@"ShowSimpleDetails"]) {
SimpleTutorialsViewController *detailViewController = [segue destinationViewController];
NSIndexPath *myIndexPath = [self.tableView indexPathForSelectedRow];
int row = [myIndexPath row];
detailViewController.simpleDetailModal = @[_simpleTitle[row], _simpleDescription[row], _simpleImages[row]];
}
}