1 Reply
      Latest reply on Oct 22, 2019 8:05 AM by sh-a-n
      vitrukalex Level 1 Level 1 (0 points)

        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) -> View

        func focusable(Bool, onFocusChange: (Bool) -> Void) -> View

         

        Is there something that I missed or SwiftUI currently not useful for tvOS production applications?