in my app, notification has play 20sec sound. i want to stop notification sound when new push notification same thread identifier
I tried the methods in the link below
https://stackoverflow.com/questions/55324708/how-to-cancel-a-local-notification-trigger-in-swift
But I didn't achieve what I wanted
Is what I want impossible on OS?
Additionally, the sound will only play continuously on the lock screen. If the screen is not locked, the sound is turned off and the sound applied to the new notification is played.