Post

Replies

Boosts

Views

Activity

SwiftUI and tvOS
Hi all!Is there any sort of tutorials or documentation related to the tvOS specific things for SwiftUI?E.g. how to get more control over tvOS Focus engine?Also, is there "canBecomeFocused"-property analog for SwiftUI View and how to enable focusing for SwiftUI Image? Currently, I'm unable even make working parallax effect for my layered images.The only Focus-related thing that I see are:func onHover(perform: (Bool) -> Void) -> Viewfunc focusable(Bool, onFocusChange: (Bool) -> Void) -> ViewIs there something that I missed or SwiftUI currently not useful for tvOS production applications?
2
0
1.3k
Oct ’19