我在每个视图的末尾都有相同的代码转到下一个:
- (IBAction)proceed2 {
StepThree *one = [[[StepThree alloc] initWithNibName:@"StepThree" bundle:nil] autorelease];
one.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:one animated:YES];
}
除了这个之外,这在每个视图中都有效,除了不同的步骤编号(并不总是StepThree)之外,我的所有代码看起来完全相同。我和所有人一样导入了“StepThree.h”......为什么这个问题给我带来了问题?
顺便说一句,它在行
[self presentModalViewController:one animated:YES];
,错误是“线程1:程序接收信号:”SIGABRT“。”
答案 0 :(得分:1)