I'm not sure why I get a SIGABRT error when I go to make pushViewController. I have mpCustomFoodController as an IBOUTLET, and I have a viewController inside my nib file and the file that is waiting to receive it, but then it fails on this call every time.
-(IBAction)createNewCustomFood:(id)sender{
[self cancelButtonColorChange:sender];
self.title = @"Cancel";
mpCustomFoodController = [[MPCustomFood alloc]initWithNibName:@"MPCustomFood" bundle:nil];
[self.navigationController pushViewController:mpCustomFoodController animated:YES];
}
source
share