I still stuck to this problem, even followed the entire answer from this forum. can someone tell me what to do in a simple way? I am a new student in xcode. I turned on the zombie object.
this is my coding that failed
if ([[[AryStoreknowItem objectAtIndex:indexPath.row] objectForKey:@"action"] isEqualToString:@"a1"]) { NSString *t1 =[[AryStoreknowItem objectAtIndex:indexPath.row] objectForKey:@"title"]; NSString *a1 = [[AryStoreknowItem objectAtIndex:indexPath.row] objectForKey:@"action"]; NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
In my application, I have several ViewController. when I click the back button in the UINavigationBar, then this type of problem is generated, I canβt explain my problem because all the functions work correctly.
Example: -
1 - fitstVController (works correctly)
=> it has a UITableView, when I click on a specific row, then it will go on another UIViewController (SecoundViewController)
2 - SecoundViewController (working correctly)
=> has a UITableView and a UIActionSheet. when I select the UiActionSheet button, then another UIViewController (ThirdViewController) is open
3 - ThirdViewController (does not open)
Error
=> appeared when I click on line three. the same thing happens if I click on another cell, the third cell that I click will crash earlier than on other pages
source share