问:
大家好。
我正在用swift实现BPush ......
[BPushUtility isAllowedNotificationCallback]错误仍然出现。
(症状是第一次安装应用程序,第二次运行。)
所以,如果你能发布swift的演示项目,我们将不胜感激。
非常感谢你。
- 错误内容
+[BPushUtility isAllowedNotificationCallback:]: unrecognized selector sent to class 0x1008b1c90
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[BPushUtility isAllowedNotificationCallback:]: unrecognized selector sent to class 0x1008b1c90'
*** First throw call stack:
(0x1fed57ea0 0x1fdf29a40 0x1fec75dac 0x1fed5d7b8 0x1fed5f45c 0x10088697c 0x100884980 0x100874838 0x100872800 0x100872914 0x22bdd40f4 0x22bdd585c 0x22bddb2a8 0x22bdd80ac 0x22bdd7b00 0x22bddd054 0x1008760a8 0x1fe7a2bb4)
libc++abi.dylib: terminating with uncaught exception of type NSException