tags:

views:

22

answers:

1

This is a very basic question on push notifications.

I need to know whether an iPhone application can receive push notifications. I want them to operate as follows.

User installs the application. When the application is not running, the user notices that something has changed with the application. This is indicated by the application icon changing. User opens the application and a new screen comes up that says:

"You have 3 new items to download"

The application will need to communicate with a custom server to obtain changes. The changes will only be known by that server, not the Apple App Store.

Is the above possible to program?

+2  A: 

Yes. Your custom server sends them to Apple for distribution to devices. Read Apple's Push Notifications documentation for more info.

Jonathan Grynspan
Can the Push notification start a file download automatically, without the user accepting it?
Petras
Good god no. That would be a huge security flaw. The push notification *runs no code* on its own. It is there simply to notify the user that something is worth his/her attention.
Jonathan Grynspan
Thanks for that, I thought that would be the case.
Petras