I'm developing app in objective-c and I'm planning to add functionality of mute in it. how to make app push notifications mute on button press and unmute as well after clicking on button.
This is not possible. You can read the user`s Push Notification settings, but can´t set them from your app.