【发布时间】:2011-03-22 14:25:00
【问题描述】:
我有带有按钮的 MainMenuViewController 是哪个动作
- (IBAction) goToFirstView { FirstViewController *fvc = [[FirstViewController alloc] init]; [self.view addSubview:fvc.view]; [fvc 发布]; }FirstViewController 有带有动作的 UIButton
- (IBAction) 右箭头 { SecondViewController *svc = [[SecondViewController alloc] init]; [self.view addSubview:svc.view]; [svc 发布]; }但是当我按下“rightArrow”按钮时,应用程序会因“EXC_BAD_ACCESS”而崩溃。找不到我的问题。请帮帮我。
【问题讨论】:
-
不,我发现了问题,这是愚蠢的错误:)
标签: objective-c xcode ios exc-bad-access