// anyChat 注册异步通知句柄 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(AnyChatNotifyHandler:) name:@"ANYCHATNOTIFY"
object:nil]; // SDK异步通知 - (void) AnyChatNotifyHandler:(NSNotification*)notify:
具体场景没有复现出来,但出现几次崩溃, 通知回调方法参数notify不是一个合法的notice; 控制台打印 po notify 结果显示:@"ANYCHATNOTIFY"
po notify -> @"ANYCHATNOTIFY" po [notify Class] -> NSNotification po [notify userInfo] Class] -> 出错 po notify.userInfo -> =0x000000000001231 |