uitableview に移動してその詳細ビューを表示すると、このエラーが発生します。キャッチされていない例外 'NSInvalidArgumentException' が原因でアプリを終了しています。理由: 'Receiver () に識別子 'lmDetails' のセグエがありません'
私は2つのタブバーを持っています.uitableviewを含むtabbar 2を呼び出すと、ボタンをクリックするとuitableview 1が開きます。uitableview 1 からその詳細ビューに移動すると、エラーが表示されます。uitableview 2 では、次のセグエを使用して uitableview1 を呼び出して表示します。
-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if ([segue.identifier isEqualToString: @"seguelmResults"]) {
LMResultsTableViewController *cvc = (LMResultsTableViewController *)[segue destinationViewController];
NSIndexPath *indexPath = sender;
HolidayChartListItem *obj=[[HolidayChartListItem alloc]init];
obj= [totalArray objectAtIndex:indexPath.row];
cvc.selDestinationId = obj.DestinationId;
cvc.selCountryId = obj.CountryId;
}
uitableview 2 からではなく、タブバー 1 から uitableview 1 を開いた場合、詳細ページに移動してもエラーは発生しません。