0

I have an iOS 5 pager application. Application can receive new message counter from server. For example application received 5 as a response from server. So no I need to create new (or update existing) notification in notification center panel and additionally I need the notification center to receive these notifications while the application is in background. Help me please. How can it be done?

Torsten Walter
  • 5,614
  • 23
  • 26
user1385666
  • 357
  • 1
  • 7
  • 17

1 Answers1

0

All of the information you require is in Apple's iOS Developer docs: About Local Notifications and Push Notifications

You also might want to look into the introductory video from WWDC2011: Using local and push notifications on iOS and Mac OS X

Torsten Walter
  • 5,614
  • 23
  • 26
Ryan Brodie
  • 6,554
  • 8
  • 40
  • 57
  • Thank you, I'll check the link that you provided – user1385666 Jul 19 '12 at 13:35
  • Haven't seen a single word about notification panel :( – user1385666 Jul 19 '12 at 13:55
  • The thing is, as it turns out you can't control the notification center. This is all in the hands of the user. But, by default any local notification you push to the user is added to the notification center when the user doesn't immediately react to it (tap okay in alert / slide icon on home screen). There's a lot of questions like this on [Stackoverflow](http://stackoverflow.com/questions/tagged/notificationcenter) – Torsten Walter Jul 19 '12 at 14:27
  • The notification centre is a method of organising sent notifications. There is no way of undoing sent notifications. – Ryan Brodie Jul 19 '12 at 14:34