Skip to content

Commit

Permalink
多个响铃推送同时到达时,防止重复响铃。
Browse files Browse the repository at this point in the history
  • Loading branch information
Finb committed Jul 31, 2024
1 parent c44005f commit 779e237
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NotificationServiceExtension/Processor/CallProcessor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class CallProcessor: NotificationContentProcessor {
}

func serviceExtensionTimeWillExpire(contentHandler: (UNNotificationContent) -> Void) {
stopAudioWork()
if let content {
contentHandler(content)
}
Expand Down

0 comments on commit 779e237

Please sign in to comment.