Post

Replies

Boosts

Views

Activity

Reply to IOS warning: instance method 'userNotificationCenter(_:willPresent:withCompletionHandler:)' nearly matches optional requirement
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
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’24
Reply to Picture in Picture with WebRTC, nothing displayed
Same here... been struggling with this PiP in WebRTC for days now... horrible! in Android it took literally 3 lines of code
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to IOS warning: instance method 'userNotificationCenter(_:willPresent:withCompletionHandler:)' nearly matches optional requirement
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
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to IOS warning: instance method 'userNotificationCenter(_:willPresent:withCompletionHandler:)' nearly matches optional requirement
Solved it by calling the completionHandler with an explicit Int value (i.e. completionHandler(1 << 4) for banner)
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’24