当我使用 popViewController 时,我的应用程序崩溃了。使用 NSZombie 时我得到以下信息:
2011-07-15 13:20:03.334 Question[27412:207] *** -[CFString release]: message sent to deallocated instance 0x4c8a090
我不完全确定如何解释这一点或如何找到所引用的实例...
当我添加以下行时,应用程序崩溃:
-(void) finishQuestionnaire:(id)sender{
//go back to main manual
[self.navigationController popViewControllerAnimated:YES];
}
我不认为这是问题,我认为无论加载什么都是问题......
最佳答案
我遇到了类似的问题,我花了一整天的时间来解决这个错误......在我的例子中,有一个像
这样的字符串
str = [[NSString alloc] initWithString:@"a string"];
然后我就变了
str = [NSString stringWithFormat:@"%@",aVarible];
问题已经解决了...
关于iPhone 应用程序崩溃 - NSZombie 输出问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6706884/