watchos

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

watchOS Platform

watchOS 平台

watchOS-specific development for Apple Watch experiences.
面向Apple Watch体验的watchOS专属开发。

Agent Workflow (MANDATORY)

Agent 工作流程(强制要求)

Before ANY implementation, use
TeamCreate
to spawn 3 agents:
  1. fuse-ai-pilot:explore-codebase - Analyze existing watchOS patterns
  2. fuse-ai-pilot:research-expert - Verify latest watchOS 26 docs via Context7/Exa
  3. mcp__apple-docs__search_apple_docs - Check watchOS patterns
After implementation, run fuse-ai-pilot:sniper for validation.

在进行任何开发实现前,请使用
TeamCreate
生成3个Agent:
  1. fuse-ai-pilot:explore-codebase - 分析现有watchOS开发模式
  2. fuse-ai-pilot:research-expert - 通过Context7/Exa验证最新watchOS 26文档
  3. mcp__apple-docs__search_apple_docs - 查阅watchOS开发模式
完成开发实现后,运行fuse-ai-pilot:sniper进行验证。

Overview

概述

When to Use

适用场景

  • Building Apple Watch apps
  • Creating watch face complications
  • Workout and fitness tracking
  • Health data access (HealthKit)
  • iPhone-Watch communication
  • 开发Apple Watch应用
  • 创建表盘复杂功能
  • 运动与健身追踪
  • 健康数据访问(HealthKit)
  • iPhone与Apple Watch间的通信

Why watchOS Skill

选择watchOS Skill的原因

FeatureBenefit
ComplicationsGlanceable data on watch face
WorkoutsFitness and health tracking
HealthKitAccess health metrics
ConnectivitySync with iPhone

功能优势
表盘复杂功能(Complications)在表盘上展示可快速查看的数据
运动追踪健身与健康数据追踪
HealthKit访问健康指标数据
连接功能与iPhone同步数据

Reference Guide

参考指南

NeedReference
Watch face complicationscomplications.md
Workout sessions, HealthKitworkouts.md
iPhone ↔ Watch syncwatch-connectivity.md

需求参考文档
表盘复杂功能complications.md
运动会话、HealthKitworkouts.md
iPhone ↔ Watch 同步watch-connectivity.md

Design Considerations

设计考量

Screen Size

屏幕尺寸

  • Small display, large touch targets
  • Glanceable information
  • Minimal text, clear icons
  • 小显示屏,大触控目标
  • 信息需便于快速查看
  • 文字精简,图标清晰

Interactions

交互方式

  • Digital Crown for scrolling/input
  • Force Touch (older watches)
  • Gestures: swipe, tap
  • 使用数码表冠进行滚动/输入
  • 3D Touch(旧款手表)
  • 手势操作:滑动、轻点

Battery

电池续航

  • Minimize background work
  • Use complications for updates
  • Efficient data transfer

  • 尽量减少后台任务
  • 使用表盘复杂功能进行更新
  • 高效的数据传输

Best Practices

最佳实践

  1. Glanceable - Quick information access
  2. Large targets - Easy tapping
  3. Minimal input - Reduce typing
  4. Complications - Update watch face data
  5. Background refresh - Efficient updates
  6. Test on device - Simulator differs from hardware
  1. 便于快速查看 - 实现信息的快速访问
  2. 大触控目标 - 便于点击操作
  3. 最少输入 - 减少文字输入操作
  4. 表盘复杂功能 - 更新表盘数据
  5. 后台刷新 - 高效的更新机制
  6. 真机测试 - 模拟器与硬件存在差异