ios - Let user schedule time for not receiving remote push notification -


i'm developing ios app uses push notifications parse. possible let user schedule time receiving push notification. example, user may want mute/disable push notification 00:00 07:00 everyday. may assume there remote notification only.

is possible create such setting mute push notification programmatically on client side?

any appreciated.

i don't know if there automated process , have knowledge of manual process stop push notification

1st way: go device settings -> app -> notifications(if have taken permission user show notification, show in settings), inside looks enter image description here

if user disable allow notifications options user not notifications particular app, enable push notification user has follow same steps , enable push notification settings only

2nd way in application there method called unregisterforremotenotifications can stop push notifications programatically not getting idea how can automate register/unregister during user selected period of time


Comments