小编Ale*_* N.的帖子

PhoneGap/iOS LocalNotification应用程序在点击"查看"时崩溃

我在这里遇到麻烦:我的应用程序设置为不在后台运行,我正在使用我在github上找到的localNotification插件设置dailyInterval本地通知:https://github.com/phonegap/phonegap-plugins /树/主/ iPhone/LocalNotification

当通知弹出时应用程序崩溃,我点击"查看"...看起来正在发送的东西,它不知道发生了什么.我,也不知道是什么,因为Objective C对我来说是一门外语.有人有主意吗?

--------- Console Log ----------
Run Code Online (Sandbox Code Playgroud)

7/29/11 11:05:48 AM Afternoon Affirmations [12004] - [UIConcreteLocalNotification absoluteString]:无法识别的选择器发送到实例0x5c22240

7/29/11 11:05:48 AM Afternoon Affirmations[12004]   *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIConcreteLocalNotification absoluteString]: unrecognized selector sent to instance 0x5c22240'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x017f65a9 __exceptionPreprocess + 185
    1   libobjc.A.dylib                     0x0194a313 objc_exception_throw + 44
    2   CoreFoundation                      0x017f80bb -[NSObject(NSObject) doesNotRecognizeSelector:] + 187
    3   CoreFoundation                      0x01767966 ___forwarding___ + 966
    4   CoreFoundation                      0x01767522 _CF_forwarding_prep_0 + …
Run Code Online (Sandbox Code Playgroud)

ios localnotification uilocalnotification cordova

6
推荐指数
1
解决办法
2959
查看次数