jordond
10/14/2023, 10:24 PMUIScreen
is available, but for macOS it isn’t available. I looked at the apple docs, and it says Mac 13+.Sebastien Leclerc Lavallee
10/15/2023, 3:30 AMUIScreen
is only available for iOS/iPadOS because UIKit
is only on these platform. For macOS, it’s called NSScreen
from AppKit
framework. But UIScreen
is available on macOS throught Catalyst but it’s not directly macOS.