0

Is there a way to avoid displaying the initial alert when my app receives a local notification while in the background or closed?

I want the local notification to go directly to AppDelegate method, bypassing any alert. Is this possible?

Basically, I want my app to run a certain code on the reception of the Local Notification, without needing any user action.

4

1 に答える 1

1

No, that's not possible. Local or remote notifications cannot launch apps (or bring them to the foreground) without user interaction.

于 2012-02-17T15:02:10.483 に答える