i'm developing an iphone app.
i'm gonna use local notification. what i want is to set text of alertbody dynamically.
basically, alertbody is set statically when the local notification is sc开发者_如何学Goheduled.
but, in my app, the text should be downloaded when the notification is fired.
can i do this? anyone help me..
thanks in advance.
You can't schedule a notification to have a custom message that is generated when the notification is fired.
If your app is running in the background you could fire an immediate local notification instead. See Listing 2-2 of this page on Apple's Local and Push Notification Programming Guide
加载中,请稍侯......
精彩评论