草庐IT

mpCustomFoodController

全部标签

iphone - 使用 pushViewController 时出现 SIGABRT 错误

我不确定为什么在执行pushViewController时会收到SIGABRT错误。我将mpCustomFoodController作为IBOUTLET,并且在我的nib文件中有一个viewController,还有一个文件正在等待接收它,但每次调用都会失败。-(IBAction)createNewCustomFood:(id)sender{[selfcancelButtonColorChange:sender];self.title=@"Cancel";mpCustomFoodController=[[MPCustomFoodalloc]initWithNibName:@"MPCus