我希望這是我的了,而最後一個問題,我打開一個XIB文件通過:self.view removeFromSuperview崩潰
Results1 *myView1 = [[Results1 alloc]initWithNibName:@"Results1" bundle:nil];
[self.view addSubview:myView1.view];
我對第二XIB文件按鈕:
-(IBAction)Button1:(id)sender
{
[self.view removeFromSuperview];
}
它崩潰每次:
0xecf09b: movl 8(%edx), %edi
我有意見聯
我不知道這是否是問題:
@interface TestTypingToolViewController()
{
NSString *iResults1;
NSString *iResults2;
NSString *iResults3;
NSString *iResults4;
NSString *iResults5;
NSString *Segment;
NSDictionary *ResultsData;
}
@end
感謝您的幫助,大家好!
?什麼是造成崩潰的錯誤以及代碼的哪一行(不是'movl',過低的級別)會發生什麼?這個信息是可用的輸出控制檯... – sergio 2012-08-10 20:34:22
我不知道是什麼弧,但我得到EXC_BAD_ACCESS(代碼= 1,地址= 0xa0686703) – Tim 2012-08-10 20:41:15