Like .tabItem
which was mentioned yesterday, .contextMenu
was new last year but has come to a new platform this year, and like .tabItem
, I've used one of Apple’s examples.
This time I put in a little more effort, as adapting their example for tvOS actually requires that the Text
be made .focusable
, which is covered in detail earlier in this post. Onc…
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.