У меня возникли проблемы: у меня установлено приложение, которое не запускается в фоновом режиме, и я устанавливаю локальное уведомление dailyInterval с помощью плагина localNotification, который я нашел на github здесь: https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/LocalNotification
приложение вылетает, когда всплывает уведомление, и я нажимаю «Просмотр» ... похоже, что-то отправляется вместе, и он не знает, что происходит.Я также не знаю, что происходит, поскольку Цель C для меня иностранный язык.У кого-нибудь есть идеи?
--------- Console Log ----------
7/29/11 11:05:48 Утренние аффирмации [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 + 50
5 Afternoon Affirmations 0x00002f21 -[AppDelegate application:didFinishLaunchingWithOptions:] + 257
6 UIKit 0x002f7c89 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1163
7 UIKit 0x002f9d88 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 439
8 UIKit 0x00304617 -[UIApplication handleEvent:withNewEvent:] + 1533
9 UIKit 0x002fcabf -[UIApplication sendEvent:] + 71
10 UIKit 0x00301f2e _UIApplicationHandleEvent + 7576
11 GraphicsServices 0x020e5992 PurpleEventCallback + 1550
12 CoreFoundation 0x017d7944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
13 CoreFoundation 0x01737cf7 __CFRunLoopDoSource1 + 215
14 CoreFoundation 0x01734f83 __CFRunLoopRun + 979
15 CoreFoundation 0x01734840 CFRunLoopRunSpecific + 208
16 CoreFoundation 0x01734761 CFRunLoopRunInMode + 97
17 UIKit 0x002f97d2 -[UIApplication _run] + 623
18 UIKit 0x00305c93 UIApplicationMain + 1160
19 Afternoon Affirmations 0x00002d7f main + 127
20 Afternoon Affirmations 0x00002cf5 start + 53
)
7/29/11 11:05:48 AM UIKitApplication:com.InTheRooms.AfternoonAffirmations[0x9a52][12004] terminate called after throwing an instance of 'NSException'