Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Use .contextMenu on tvOS

Use .contextMenu on tvOS

Daily Coding Tip 048

Millie Sturgeon's avatar
Millie Sturgeon
Feb 13, 2021
∙ Paid

Share this post

Type Safely
Type Safely
Use .contextMenu on tvOS
Share

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.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share