I am constructing a card-game (for tvos) where the user should be able to remove cards from a board. At the end of the game only a few cards may be left at the board, and they might e.g. be arranged as the buttons in the picture below.
How can I let the user move focus from say button 1 to button 0 or 2?
In un-accepted answers to a similar question at SO, it was suggested that one should use an UIFocusGuide
. I do not think that answer is applicable to my problem, because in that approach one must tell the focusGuide the preferredFocusedView
in advance (e.g. before the user swipes in siri-remote)! In my case, the preferred next focus depends on the swipe direction, e.g. the focusHeading
.