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
Aug ’24