奇怪了:通知的委托方法必须在注册通知的 后边,除非有声明 ios6

来源:互联网 发布:深圳航天信息软件下载 编辑:程序博客网 时间:2024/05/16 06:35

  

    奇怪了:通知的委托方法必须在注册通知的 后边,除非有声明,;;;



reselectPationer_Notification 方法还必须在后边;



    [[NSNotificationCenterdefaultCenter] addObserver:self

                                            selector:@selector(reselectPationer_Notification)

                                                name:NAMENOTIFICATION_RESELECTED_PATIONERobject:nil];

    



不然报错:

ELECTOR: _shouldApplyExclusiveTouch

2012-11-27 17:50:02.194 AntOAA[84372:c07] -[MVLCMovieListViewController reselectPationer_Notification]: unrecognized selector sent to instance 0x9db1140

2012-11-27 17:50:02.195 AntOAA[84372:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MVLCMovieListViewController reselectPationer_Notification]: unrecognized selector sent to instance 0x9db1140'

*** First throw call stack:

(0x3a7e012 0x3888e7e 0x3b094bd 0x3a6dbbc 0x3a6d94e 0x3349dc9 0x3ad80c5 0x3a32efa 0x327e482 0x329173b 0x36aae 0x2bc3020 0x389c705 0x27d3920 0x27d38b8 0x2894671 0x2894bcf 0x2893d38 0x280333f 0x2803552 0x27e13aa 0x27d2cf8 0x519ddf9 0x519dad0 0x39f3bf5 0x39f3962 0x3a24bb6 0x3a23f44 0x3a23e1b 0x519c7e3 0x519c668 0x27d065c 0x2202 0x2135)

libc++abi.dylib: terminate called throwing an exception


原创粉丝点击