How to disable push notification from app for that app only?
I am developing an app which accepts push notifications. I want to disable the push notifications for that app only by just toggling UISwitch in the app settings. So is it possible that I can enable or disable the push notifications from the app itself?
Yes, it is possible. Please take a look on registerForRemoteNotifications and unregisterForRemoteNotifications methods (link)