我正在测试推送通知。我有这种情况:
当我在随机屏幕上并收到推送通知并打开该通知时,系统会尝试将我带到推送通知强制执行的屏幕。这会导致似乎是一个 segue 错误:
Mar 31 11:08:52 ancient-phone Marketing[14788] <Error>: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[LoginController openBusinessTopic]: unrecognized selector sent to instance 0x1c5b3ae0'
*** First throw call stack:
(0x318412a3 0x394db97f 0x31844e07 0x31843531 0x3179af68 0x40ae3 0x337f290d 0x337f1f6b 0x33649d59 0x336496cd 0x3364911b 0x3534a5a3 0x3534a1d3 0x31816173 0x31816117 0x31814f99 0x31787ebd 0x31787d49 0x353492eb 0x3369d301 0x404ff 0x39912b20)
我怎样才能防止这种情况?发生这种情况的原因是什么?有没有办法处理这个?
谢谢!