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.
Push notifications are dispatched to the app that registered to receive them.
You cannot access all notifications, so the short answer would be no.
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.
来源:https://stackoverflow.com/questions/14260037/ios-push-notifications-of-other-apps