Exclude notification methods for tvOS using @available – Ios swift
I'm studying UserNotifications framework and have the following method to respond to user's actions on a notification. func userNotificationCenter (_ pNotificationCenter: UNUserNotificationCenter, didReceive pResponse: UNNotificationResponse, withCompletionHandler pCompletionHandler: @escaping () -> Void) -> Void { ... } This works well in…