I am working on apple tv os application. I want to move focus on particular UiButton but I don't know how to use preferredFocusEnvironments instead of preferredFocusedView ?
I am able to use preferredFocusedView but for this variable is deprecated.
so anyone can help me for this issue?