when I was working with a dropdown using the class SWRevealViewController, it works correctly in the iphone simulator. But when I tried to run the iphone 5 on the device for testing, when I select the menu button, it displays the disable menu correctly, but, unfortunately, when selecting cells, it fails and shows the following error. But there are no such errors in the 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];
}
}
Application termination due to the uncaught exception "NSInvalidArgumentException", reason: '- [SWRevealViewControllerSegue setDestinationContainmentContext:]: unrecognized selector sent to example 0x175c5f90'
please help me.