swift – Notification sound taking part in on loop in iOS 16 and above


I’ve added the help to play a customized notification sound in my utility every time a notification of a sure kind is obtained. The notification sound getting used on this case is 9 seconds lengthy.
Until iOS model 15 (together with all of the incremental launch), it’s being performed simply as soon as, i.e. for 9 seconds if it isn’t intercepted by the consumer or by one other notification (silent/regular) however for iOS 16 and above the sound it being performed on loop for 30 seconds if there isn’t any interception.

Any ideas or concepts as to why that is occurring and the way can this be solved.
TIA.

It ought to ideally be performed as soon as just for 9 seconds if there isn’t any interception.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles