Установка
SKILL.md
tvOS Design Guidelines
Apple TV is a living room device driven entirely by focus-based navigation and the Siri Remote. There is no pointer, no touch screen, and no mouse. Every design decision must account for the 10-foot viewing distance, the simplicity of the remote, and the lean-back nature of TV consumption.
1. Focus-Based Navigation (CRITICAL)
The focus system is the foundation of all tvOS interaction. There is no cursor -- users move focus between elements using the Siri Remote touch surface.
Rules
FOCUS-01: Every interactive element must have a clearly visible focus state. The focused item must be unmistakably distinguished from unfocused items. Use scaling (typically 1.05x-1.1x), elevation via shadow, brightness changes, or border highlights. Never rely on color alone.
FOCUS-02: Focus movement must be predictable and follow a logical spatial layout. When a user swipes right, focus must move to the element visually to the right. Avoid layouts where focus jumps unexpectedly across the screen. Grid and linear layouts are safest.
FOCUS-03: Use focus guides (UIFocusGuide) to bridge gaps in layouts. When visual gaps exist between focusable elements, add invisible focus guides so the user does not get stuck. Every swipe should move focus somewhere meaningful.
FOCUS-04: Apply the parallax effect to focused items. Focused cards, posters, and icons should exhibit a subtle parallax tilt responding to touch surface movement. Use layered images (LSR format) with foreground, midground, and background layers. This communicates depth and confirms focus.
Correct:
// SwiftUI — custom focus engine with explicit focus state
struct ContentView: View {
@FocusState private var focusedItem: String?
var body: some View {
HStack(spacing: 40) {
ForEach(items) { item in
CardView(item: item)
.focusable()
.focused($focusedItem, equals: item.id)
.scaleEffect(focusedItem == item.id ? 1.1 : 1.0)
.shadow(radius: focusedItem == item.id ? 20 : 0)
.animation(.easeInOut(duration: 0.15), value: focusedItem)
}
}
}
}
Incorrect:
// SwiftUI — no focus state: unfocused and focused items look identical
struct ContentView: View {
var body: some View {
HStack(spacing: 40) {
ForEach(items) { item in
CardView(item: item)
.focusable()
// No scale, shadow, or visual change on focus
// User cannot tell which item is selected
}
}
}
}
FOCUS-05: Make focus targets large enough for comfortable navigation. Minimum recommended touch target is 250x150pt for cards. Smaller elements are difficult to land on with swipe-based navigation. Group small actions under a focused parent when possible.
FOCUS-06: Provide a default focused element on every screen. When a view appears, one element must already hold focus. Choose the most likely user intent -- typically the primary content item or the first item in a collection.
FOCUS-07: Preserve focus memory when returning to a screen. If a user navigates away and returns, focus should restore to the last focused item on that screen, not reset to the default.
FOCUS-08: Never trap focus. Users must always be able to move focus away from any element. If focus cannot leave a region, the app feels broken.
FOCUS-09: Reduce re-orientation cost. Keep row order stable, restore prior focus when returning, and prefer nearby focus destinations so users do not have to rescan the entire screen after each navigation step.
Parallax Layer Reference
| Layer | Purpose | Movement Amount |
|---|---|---|
| Background | Static backdrop, blurred imagery | Minimal (1-2pt) |
| Midground | Primary artwork or content image | Moderate (3-5pt) |
| Foreground | Title text, logos, badges | Maximum (5-8pt) |
Use Xcode's LSR (Layered Static Image) format for static layered images in the asset catalog — the system animates them automatically on focus. For custom programmatic parallax, stack UIImageView instances and use the focus engine callbacks (didUpdateFocus(in:with:) and UIFocusAnimationCoordinator) to drive layer movement during focus transitions. (UIMotionEffect responds only to subtle Siri Remote gyroscope micromotion and is not the mechanism for focus-driven parallax.)
2. Siri Remote (CRITICAL)
The Siri Remote is the primary (and often only) input device. It has a touch surface, Menu button, Play/Pause button, Siri/microphone button, volume buttons, and a power button.
Rules
REMOTE-01: Touch surface swipes control focus movement. Swiping moves focus in the corresponding direction. Clicking the touch surface selects the focused item. These are the two fundamental interactions -- design everything around them.
REMOTE-02: Menu button must always navigate back. Pressing Menu should dismiss the current screen, close an overlay, or navigate up the hierarchy. At the top level, it returns to the Apple TV home screen. Never override this expectation.
REMOTE-03: Play/Pause button must control media playback. If media is playing, Play/Pause should toggle playback regardless of what screen is visible. Do not repurpose this button for non-media actions.
REMOTE-04: Never require complex or multi-finger gestures. The Siri Remote touch surface is small. Do not require pinch, rotate, multi-tap, or long-press gestures. Stick to single-finger swipe and click.
REMOTE-05: Swipe directions must be intuitive and consistent. Horizontal swipes scroll horizontally; vertical swipes scroll vertically. Never invert axes. Diagonal content movement should follow the dominant swipe axis.
REMOTE-06: Support Siri voice input for search and text entry. Text input via the on-screen keyboard is tedious on tvOS. Always support dictation and Siri search as alternatives to keyboard entry.
REMOTE-07: Provide click feedback. When the user clicks the touch surface to select an item, provide immediate visual feedback (animation, highlight change, or haptic-style visual pulse) so the click feels responsive.
REMOTE-08: Never make the on-screen keyboard the only practical text path. For search, sign-in, and setup, prefer dictation, recent queries, autofill, or short code-based flows over long remote-typed text. Remote text entry carries high motor and cognitive cost.
3. 10-Foot UI (HIGH)
Apple TV content is viewed from across a room, typically 8-12 feet (2.5-3.5 meters) from the screen. All visual design must account for this distance.
Rules
DISTANCE-01: Minimum body text size is 29pt. Text below 29pt becomes difficult to read at living room distances. Titles should be 48pt or larger. Use San Francisco Display or comparable high-legibility typeface.
DISTANCE-02: Maintain high contrast between text and backgrounds. Use light text on dark backgrounds as the default. tvOS uses a dark theme. Contrast ratio should meet WCAG AA or higher (4.5:1 for body text, 3:1 for large text).
DISTANCE-03: Limit text per screen. TV is a visual medium. Show headlines, short descriptions, and metadata -- not paragraphs. If extended text is necessary, use scrollable text overlays that the user explicitly opens.
DISTANCE-04: Use bold, clear imagery at high resolution. Full-screen background images should be 1920x1080 or 3840x2160 (4K). Content artwork should be sharp and visually engaging. Avoid small, detailed illustrations that lose clarity at distance.
DISTANCE-05: Keep layouts simple and spacious. Generous margins and padding. Do not crowd the screen with many small elements. A single row of 5-7 cards is preferable to a dense grid of 20+ thumbnails.
DISTANCE-06: Use the TV-safe area. Keep all critical content within the safe area (60pt inset from edges). Content near screen edges may be cropped on some TV sets due to overscan.
DISTANCE-07: Avoid thin fonts and hairline borders. Thin strokes disappear on TV displays, especially with motion blur and compression artifacts. Use medium or semibold weights minimum.
Text Size Reference
| Element | Minimum Size | Recommended Size |
|---|---|---|
| Body text | 29pt | 31-35pt |
| Secondary labels | 25pt | 29pt |
| Titles | 48pt | 52-76pt |
| Large headers | 64pt | 76-96pt |
| Buttons | 29pt | 35-38pt |
4. Top Shelf (HIGH)
The Top Shelf is a prominent content area displayed when the user focuses on your app icon on the Apple TV home screen. It is prime real estate for showcasing content.
Rules
SHELF-01: Provide a Top Shelf extension.
Apps should include a TVTopShelfContentProvider (tvOS 14+) that returns dynamic content. TVTopShelfProvider is deprecated since tvOS 14 — do not use it. A static Top Shelf is a missed opportunity for engagement.
SHELF-02: Use the correct layout style for your content.
- Inset banner: 1 large focused item with smaller items on either side. Best for featured or editorial content.
- Sectioned content: Multiple scrollable rows of items grouped by category. Best for media libraries.
SHELF-03: Top Shelf items must deep-link into the app. Each item must open the corresponding content when selected. Never link all items to the same generic landing page.
SHELF-04: Use high-quality, engaging imagery. Top Shelf images are displayed large on the home screen. Blurry, low-resolution, or text-heavy images look unprofessional. Recommended image sizes:
- Inset banner: 1940x624pt (@1x) or 3880x1248pt (@2x)
- Sectioned items: 404x608pt (@1x)
SHELF-05: Keep Top Shelf content fresh. Update Top Shelf content regularly -- ideally reflecting recently added, trending, or personalized content. Stale Top Shelf content signals an abandoned app.
5. Media & Playback (MEDIUM)
Apple TV is primarily a media consumption device. Playback interfaces must follow established TV conventions.
Rules
MEDIA-01: Use standard transport controls.
Provide play, pause, skip forward (10s), skip back (10s), and a scrubber timeline. Use AVPlayerViewController to get these for free with consistent behavior.
MEDIA-02: Show an info overlay on swipe-down during playback. Swiping down during playback should reveal an info panel showing title, description, and metadata. Swiping down again or pressing Menu dismisses it.
MEDIA-03: Support scrubbing via the touch surface. Swiping left/right on the touch surface during playback should scrub through the timeline. Show thumbnail previews during scrubbing when possible.
MEDIA-04: Support subtitles and alternative audio tracks. Provide access to subtitle selection and audio track switching via the info overlay or the standard player controls.
MEDIA-05: Support Picture in Picture where appropriate.
For video content, allow PiP so users can browse other content while watching. Implement AVPictureInPictureController integration.
MEDIA-06: Remember playback position. When a user returns to previously watched content, resume from where they left off. Display a progress indicator on content thumbnails.
MEDIA-07: Handle interruptions gracefully. If the user presses the TV button or switches apps during playback, save position and pause cleanly. Resume without re-buffering when the user returns.
6. Tab Bar (MEDIUM)
The tvOS tab bar sits at the top of the screen, unlike iOS where it sits at the bottom. It provides primary navigation between app sections.
Rules
TAB-01: Place the tab bar at the top of the screen. This is the standard tvOS convention. Bottom tab bars are an iOS pattern and feel wrong on TV.
TAB-02: Tab bar should be translucent and overlay content. The tab bar floats over content with a blur effect. When the user focuses on the tab bar, content shifts down to make room.
TAB-03: Use 3-7 tabs. Fewer than 3 tabs suggests the app is too simple for tab navigation. More than 7 tabs becomes difficult to navigate with horizontal swiping.
TAB-04: Every tab must have a text label. Icon-only tabs are insufficient at TV viewing distances. Text labels are required for clarity. Icons may accompany text but are not required.
TAB-05: Focus on the tab bar should feel lightweight. When focus moves to the tab bar, it should appear smoothly. Content preview should be visible beneath the translucent bar. Switching tabs should update the content below immediately or show a loading state.
TAB-06: Remember the selected tab across app launches. If the user was on the "Search" tab when they left the app, return to "Search" when they re-open it.
7. Accessibility (CRITICAL)
Apple TV поддерживает VoiceOver. Зрячие пользователи используют навигацию по фокусу; пользователи VoiceOver дополнительно слышат речевые описания. Оба сценария должны работать.
Правила
ACCESS-01: Каждый интерактивный элемент должен иметь осмысленную метку доступности. Кнопки только с иконками и карточки с изображениями должны иметь метки. Имя элемента в фокусе объявляется VoiceOver при получении фокуса.
ACCESS-02: Предоставляйте подсказки доступности для неочевидных взаимодействий. Если нажатие на карточку делает что-то отличное от открытия контента (например, запускает трейлер вместо полного воспроизведения), опишите это с помощью подсказки доступности.
ACCESS-03: Убедитесь, что порядок фокуса VoiceOver совпадает с визуальным порядком фокуса.
VoiceOver должен обходить элементы в том же порядке, в котором их создаёт навигация движка фокуса. Пользовательский порядок фокуса через UIFocusGuide не должен создавать разрывы в порядке чтения VoiceOver.
ACCESS-04: Уважайте Reduce Motion. Эффекты параллакса и другие анимации должны быть уменьшены или отключены, когда пользователь включает Reduce Motion в настройках доступности.
ACCESS-05: Реагируйте на Bold Text.
Когда пользователь включает Bold Text, пользовательский отрисованный текст должен адаптироваться. Динамические стили шрифта SwiftUI обрабатывают это автоматически; пользовательская отрисовка текста должна проверять UIAccessibility.isBoldTextEnabled или использовать @Environment(\.legibilityWeight).
ACCESS-06: Реагируйте на Increase Contrast.
Когда пользователь включает Increase Contrast (Darker System Colors), пользовательские цвета должны предоставлять варианты с более высоким контрастом. Используйте @Environment(\.colorSchemeContrast) в SwiftUI или UIAccessibility.isDarkerSystemColorsEnabled в UIKit для обнаружения и применения соответствующих значений.
ACCESS-07: Уважайте Dynamic Type / Larger Text.
tvOS поддерживает настройку доступности "Larger Text" через UIContentSizeCategory. Используйте семантические стили текста SwiftUI (Font.TextStyle), чтобы текст масштабировался автоматически. Для UIKit масштабируйте пользовательские шрифты с помощью UIFontMetrics относительно базового UIFont.TextStyle.
Правильно:
// SwiftUI — semantic text styles scale with Larger Text automatically
Text("Now Playing")
.font(.title2) // Scales with UIContentSizeCategory
Text("Episode description")
.font(.body) // Scales with UIContentSizeCategory
// UIKit — scale custom font with UIFontMetrics
let baseFont = UIFont(name: "CustomFont-Regular", size: 29)!
let scaledFont = UIFontMetrics(forTextStyle: .body).scaledFont(for: baseFont)
label.font = scaledFont
label.adjustsFontForContentSizeCategory = true
Неправильно:
// SwiftUI — hardcoded size ignores Larger Text preference
Text("Now Playing")
.font(.system(size: 29)) // Does not scale
// UIKit — hardcoded font ignores UIContentSizeCategory
label.font = UIFont(name: "CustomFont-Regular", size: 29)
// Missing adjustsFontForContentSizeCategory = true
Контрольный список оценки
Используйте этот контрольный список при проверке дизайна или реализации приложения tvOS.
Система фокуса
- <!-- -->Каждый интерактивный элемент имеет видимое, отчётливое состояние фокуса
- <!-- -->Перемещение фокуса предсказуемо во всех направлениях
- <!-- -->В приложении нигде нет ловушек фокуса
- <!-- -->Направляющие фокуса устраняют разрывы макета
- <!-- -->Эффект параллакса применяется к карточкам контента и иконкам
- <!-- -->Фокус по умолчанию задан на каждом экране
- <!-- -->Память фокуса сохраняется при навигации назад
Siri Remote
- <!-- -->Кнопка Menu выполняет навигацию назад на каждом экране
- <!-- -->Play/Pause управляет воспроизведением медиа глобально
- <!-- -->Сложные жесты не требуются
- <!-- -->Отклик на нажатие немедленный и видимый
- <!-- -->Siri/диктовка поддерживаются для ввода текста
Интерфейс для 10 футов
- <!-- -->Основной текст имеет размер 29pt или больше
- <!-- -->Высокие коэффициенты контраста на всём тексте
- <!-- -->Текстовый контент лаконичен, без обилия абзацев
- <!-- -->Изображения имеют высокое разрешение и визуально чёткие
- <!-- -->Макет использует щедрые отступы с безопасными полями TV
- <!-- -->Нет тонких шрифтов или волосяных штрихов
Top Shelf
- <!-- -->Расширение Top Shelf предоставляет динамический контент
- <!-- -->Все элементы Top Shelf корректно выполняют глубокие ссылки
- <!-- -->Изображения высокого качества и правильного размера
- <!-- -->Контент регулярно обновляется
Медиа и воспроизведение
- <!-- -->Доступны стандартные элементы управления воспроизведением
- <!-- -->Перемотка работает через сенсорную поверхность
- <!-- -->Субтитры и звуковые дорожки доступны
- <!-- -->Позиция воспроизведения запоминается
- <!-- -->Прерывания обрабатываются корректно
Панель вкладок
- <!-- -->Панель вкладок находится в верхней части экрана
- <!-- -->Вкладки имеют текстовые метки
- <!-- -->Используется 3-7 вкладок
- <!-- -->Выбранная вкладка сохраняется между запусками
Доступность
- <!-- -->Каждый интерактивный элемент и карточка контента имеют осмысленную метку доступности
- <!-- -->Неочевидные взаимодействия имеют подсказки доступности
- <!-- -->Порядок фокуса VoiceOver совпадает с порядком визуального движка фокуса
- <!-- -->Эффекты параллакса и декоративные анимации отключены, когда включён Reduce Motion
- <!-- -->Настройка Bold Text соблюдается (SwiftUI обрабатывает автоматически; пользовательский текст проверяет
isBoldTextEnabled) - <!-- -->Настройка Increase Contrast соблюдается (пользовательские цвета предоставляют варианты с более высоким контрастом)
- <!-- -->Настройка Larger Text (Dynamic Type) соблюдается (используйте
Font.TextStyleв SwiftUI илиUIFontMetricsв UIKit)
Антипаттерны для TV
Не переносите мобильные паттерны напрямую на tvOS. Ниже приведены распространённые ошибки:
| Антипаттерн | Почему это не работает | Правильный подход |
|---|---|---|
| Нижняя панель вкладок | Соглашение iOS; на TV выглядит неправильно | Используйте верхнюю панель вкладок |
| Маленькие сенсорные цели | Невозможно точно нацелиться при навигации свайпом | Карточки минимум 250x150pt |
| Экраны с плотным текстом | Нечитаемо с расстояния 10 футов | Только заголовки + короткие описания |
| Гамбургер-меню | На TV нет взаимодействия tap-to-reveal | Используйте панель вкладок или меню, управляемые фокусом |
| Pull-to-refresh | На Siri Remote нет жеста потягивания | Автообновление или явная кнопка обновления |
| Всплывающие уведомления | Легко пропустить на большом экране TV | Используйте модальные оповещения или постоянные баннеры |
| Индикаторы прокрутки | Тонкие полосы прокрутки невидимы на расстоянии | Используйте подсматривание контента (частично видимый следующий элемент) |
| Pinch-to-zoom | Мультипальцевые жесты невозможны на Siri Remote | Предоставьте явные элементы управления масштабом |
| Длинные формы | Ввод с клавиатуры на tvOS затруднителен | Предзаполняйте, используйте профили или переносите на iPhone |
| Тонкая/лёгкая типографика | Исчезает на дисплеях TV | Минимум средняя насыщенность |
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: tvos-design-guidelines](https://darkplay.ru/ai/skills/ehmo-platform-design-skills-tvos-design-guidelines)
Из того же репозитория
Похожие скиллы и другие разделы каталога
Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
andrej-karpathy-skillsmultica-ai · Правила поведения для снижения типичных ошибок LLM при программировании: думай перед…
A11y Architectaffaan-m · Архитектор доступности, специализирующийся на соответствии WCAG 2.2 для веба и нативных…
Architectaffaan-m · Специалист по архитектуре ПО для проектирования систем, масштабируемости и принятия…
Code Architectaffaan-m · Проектирует архитектуру функций, анализируя существующие паттерны и соглашения кодовой…
Database Revieweraffaan-m · Специалист PostgreSQL: оптимизация запросов, схемы, безопасность, Supabase.
Gan Planneraffaan-m · GAN Harness — агент-планировщик: разворачивает промпт в полную спецификацию продукта.
Homelab Architectaffaan-m · Проектирует сети для дома и малой лаборатории с поэтапными изменениями и откатом.
Network Architectaffaan-m · Проектирует корпоративные и распределённые сети с маршрутизацией и автоматизацией.
Swift Revieweraffaan-m · Ревьюер Swift-кода: протокол-ориентированный дизайн, ARC, Swift Concurrency.
Type Design Analyzeraffaan-m · Анализ дизайна типов: инкапсуляция, инварианты, полезность, соблюдение.Лучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachatЛучшие ИИ-инструменты для генерации изображений
Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты
MagviMagvi
DALL-E 3OpenAI
SupaLabSupalab
Freestyling.aiFreestyling
ArtGeneration.meArtgeneration
BigjpgBigjpg
Художник от VKVK
Avato AI12ai
Virton AIVirton