20.4 · The focus engine, the remote and the 10-foot UI, and media-first apps
tvOS is not iOS without touch. It is a different product: a remote, a cursor you cannot see, text you read from a sofa, and an app that is almost always playing something.
Mental model. Everything must be reachable by moving focus in four directions, readable from across a room, and fine without background work.
Focus and input
The focus engine, focus guides, the Siri Remote and what UIKit lacks.
- How does the tvOS focus engine work: focusable items, preferred focus, focus guides, and SwiftUI’s focusable and FocusState?
With no touch and no pointer, the user moves a focus (a highlighted, slightly enlarged element) with swipes on the Siri Remote’s click pad (or a game… - What input and layout rules define a good tvOS interface: the Siri Remote, controllers, the 10-foot UI, and which UIKit APIs are missing?
Input. The Siri Remote offers a click pad or touch surface for directional swipes and clicks, a Select (press), Menu/Back, Play/Pause, a TV button and Siri…
Media-first
Playback, background limits, performance and testing.
- How do you build a production tvOS media app: AVPlayerViewController, Now Playing, performance on older boxes, limited background execution, and testing with the remote?
tvOS apps are media-first: most of the work is browsing a catalogue and playing video well. Use AVPlayerViewController for playback (it provides the standard…
More in Multiplatform Apple
- 20.1 · Shared cores, platform conditions, capabilities, and the release train
- 20.2 · Documents, scenes and windows on iPad
- 20.3 · Catalyst, native AppKit and SwiftUI on the Mac, and the Mac’s sandbox and menus
- 20.5 · Input and battery, on-watch health and networking, and the dual-target setup
- 20.6 · Windows, volumes and immersive spaces
- 20.7 · What the compiler and the runtime say about each platform
- 20.8 · The Mac sandbox, signing, bookmarks, menus and Catalyst, measured
- 20.9 · Which scenes, modifiers and spaces exist where, and how a package declares them