when i worked with slide out menu using SWRevealViewController
class ,it works correctly in iphone simulator.But when i tried to run in the iphone 5 device for testing,while selecting the menu button it shows the slide out menu properly, but unfortunately,while selecting the cells ,it crashes and shows the following error.but no such errors in simulator.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
indexPath = [[self tableView] indexPathForSelectedRow];
if (indexPath.row==0) {
[self performSegueWithIdentifier:@"home" sender:indexPath];
}
else if (indexPath.row==1) {
[self performSegueWithIdentifier:@"cartme" sender:indexPath];
}
else {
[self performSegueWithIdentifier:@"changelocation" sender:indexPath];
}
}
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SWRevealViewControllerSegue setDestinationContainmentContext:]: unrecognized selector sent to instance 0x175c5f90'
please help me.