1

Is there a way of receiving all the push notifications of all apps? So all notifications being displayed in the notification center?

If yes, is it also possible to perform an action when any push notification from any app is received?

Thanks

EDIT: It is not important if the app will be accepted by Apple.

user1710004
  • 209
  • 1
  • 4
  • 12

2 Answers2

2

Push notifications are dispatched to the app that registered to receive them.

You cannot access all notifications, so the short answer would be no.

Gabriele Petronella
  • 106,943
  • 21
  • 217
  • 235
  • But there is an app that does this: GShock+ by casio (gshock.com/watches/Classic/GB6900AA-1)! (Quote: "Incoming Notfications") – user1710004 Jan 10 '13 at 16:33
  • That app is registering for incoming calls, a thing you can do using the `CTCallCenter` class (http://stackoverflow.com/questions/7530934/ios-notification-of-when-a-call-is-taking-place). – Gabriele Petronella Jan 10 '13 at 16:40
  • Concerning the emails I suspect that you need to enter your email account info in the app itself, in order to get notified. – Gabriele Petronella Jan 10 '13 at 16:41
  • Yeah, but isn't there a way to get the notifications? – user1710004 Jan 10 '13 at 16:44
  • 2
    Actually, what I suspect the watch is doing is linking with your iPhone over BlueTooth. The iPhone includes built-in support for telling BlueTooth devices about incoming calls, email and Messages. – Undo Jan 10 '13 at 19:33
  • @GabrielePetronella https://itunes.apple.com/us/app/notifyr-receive-ios-notifications/id873639935?l=nl&ls=1&mt=8 – jamapag May 22 '14 at 14:40
  • 1
    @jamapag, that uses ANCS, which is made for Bluetooth accessories. Only the external accessory will be notified, so it's still impossible for an app to directly access the notification center. See: https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Specification/Specification.html#//apple_ref/doc/uid/TP40013460-CH1-SW7 – Gabriele Petronella May 22 '14 at 14:51
2

No, this is not possible. Notifications are considered by Apple to be private.

There is no (public) way to do this that would still get your app accepted into the App Store.

Undo
  • 25,519
  • 37
  • 106
  • 129
  • I dont want it to get accepted in the AppStore, but there is an App in the AppStore doing this: GShock by casio(http://www.gshock.com/watches/Classic/GB6900AA-1)! – user1710004 Jan 10 '13 at 16:24
  • @user1710004 Actually, what I suspect the watch is doing is linking with your iPhone over Bluetooth. The iPhone includes built-in support for telling Bluetooth devices about incoming calls, email and Messages. – Undo Jan 10 '13 at 19:33