Hi, do you guys have any idea why this code block doesn't run properly on a designed iPad app running on a vision pro simulator?
I'm trying to add a hovering effect to a view in UIKit but it just doesn't enter this if statement.
if #available(iOS 17.0, visionOS 1.0, *) {
someView.hoverStyle = .init(effect: .automatic)
}