Same here... been struggling with this PiP in WebRTC for days now... horrible! in Android it took literally 3 lines of code
Post
Replies
Boosts
Views
Activity
I'm seeing the same here. Xcode 15.3, Swift 5.0, Min SDK iOS 14.0
The accepted signature is:
func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (Int) -> Void) {
<#code#>
}
where instead of
UNNotificationPresentationOptions there's Int
Solved it by calling the completionHandler with an explicit Int value (i.e. completionHandler(1 << 4) for banner)