How to turn off specific push notification in ios

Viewed 27

I want to off specific one push notification from code. Is this possible? Push comes from twillio conversation.

willPresent with this method off only while app is active.

Completionhandler([.sound, .alert, .badge]) 

In my app that type toggle button there.

Enter image description here

Please suggest a better way for this.

0 Answers
Related