当我浏览到不同视图超过10至11次时, 我的应用程序崩溃。 我是指在主屏幕上有6个按钮, 用来按下这些按钮, 让你看到不同的观点。 当我反复按下这些按钮时, 我的应用程序崩溃了。 我花了3天时间, 但没有解答 。 这是应用程序崩溃的代码 。
当I uncomment 发布声明 然后它崩溃了 第一次。
-(IBAction) goToLiveAlerts{
teamAlerts *showLiveAlerts=[[teamAlerts alloc] initWithNibName:@"teamAlerts" bundle:nil];
[self.navigationController pushViewController:showLiveAlerts animated:YES];
//[showLiveAlerts release];
}
when i uncomment then i console error is "wait_fences: failed to receive reply: 10004003 [Switching to process 2093] [Switching to process 2093] Program received signal: “EXC_BAD_ACCESS”." -(IBAction)goToPhotos{ picturesGallery *showPictures=[[picturesGallery alloc] initWithNibName:@"picturesGallery" bundle:nil]; [self.navigationController pushViewController:showPictures animated:YES]; //[showPictures release]; }