Currently updated my app from iOS 8 -> iOS 9 via xcode 7. For some reason everytime I try to prepareForSegue via a UItableView the selected row in the tableView does not prefrom a segue as supposed to. This was currently not the case in iOS 8. Xcode gives no errors or warnings aswell. The app just freezes when selecting a tableView-cell item.
Any clue what may causing this strange behaviour? Some simple example code:
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
if ([[segue identifier] isEqualToString:@"FromSearchToShowTaskSegue"]) {
ShowTaskViewController *vc = [segue destinationViewController];
Solution *s = [self.searchResults objectAtIndex:[self.tableView indexPathForSelectedRow].row];
vc.taskId = s.id;
}
}