你能告诉我这个警告吗?

时间:2010-06-21 13:48:11

标签: iphone

我在

中遇到此异常
[self.navigationcontroller PopViewControllerAnimated:YES];
2010-06-21 19:12:46.585 IChitMe[31250:207] *** -[NSKeyValueIvarSetter addSubview:]: unrecognized selector sent to instance 0x377010
2010-06-21 19:12:46.593 IChitMe[31250:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSKeyValueIvarSetter addSubview:]: unrecognized selector sent to instance 0x377010'
2010-06-21 19:12:46.604 IChitMe[31250:207] Stack: (
    864992541,
    859229716,
    864996349,
    864492313,
    864454720,
    805091,
    795933,
    839415824,
    839414704,
    839684408,
    839683992,
    1282379,
    864749711,
    839231364,
    839683900,
    864749711,
    839231364,
    839231212,
    839231156,
    839230220,
    839233420,
    839227648,
    839225236,
    839206800,
    839205012,
    875886564,
    864740651,
    864738335,
    875880904,
    838872112,
    838865456,
    10345,
    10208
)
terminate called after throwing an instance of 'NSException'
Program received signal:  “SIGABRT”.
(gdb) 

2 个答案:

答案 0 :(得分:1)

popViewControllerAnimated应以小写p

开头

答案 1 :(得分:-1)

我觉得UIViewControllerUIView已被过度释放。您或iOS正在尝试向视图添加子视图,但邮件正在发送到NSKeyValueIvarSetter。很有可能,这是因为已经回收并重新分配了预期UIView的内存。