开发者

how can i set alertbody text on runningtime when local notification is fired in ios4 develop?

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜