watchos
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesewatchOS Platform
watchOS 平台
watchOS-specific development for Apple Watch experiences.
面向Apple Watch体验的watchOS专属开发。
Agent Workflow (MANDATORY)
Agent 工作流程(强制要求)
Before ANY implementation, use to spawn 3 agents:
TeamCreate- fuse-ai-pilot:explore-codebase - Analyze existing watchOS patterns
- fuse-ai-pilot:research-expert - Verify latest watchOS 26 docs via Context7/Exa
- mcp__apple-docs__search_apple_docs - Check watchOS patterns
After implementation, run fuse-ai-pilot:sniper for validation.
在进行任何开发实现前,请使用生成3个Agent:
TeamCreate- fuse-ai-pilot:explore-codebase - 分析现有watchOS开发模式
- fuse-ai-pilot:research-expert - 通过Context7/Exa验证最新watchOS 26文档
- 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的原因
| Feature | Benefit |
|---|---|
| Complications | Glanceable data on watch face |
| Workouts | Fitness and health tracking |
| HealthKit | Access health metrics |
| Connectivity | Sync with iPhone |
| 功能 | 优势 |
|---|---|
| 表盘复杂功能(Complications) | 在表盘上展示可快速查看的数据 |
| 运动追踪 | 健身与健康数据追踪 |
| HealthKit | 访问健康指标数据 |
| 连接功能 | 与iPhone同步数据 |
Reference Guide
参考指南
| Need | Reference |
|---|---|
| Watch face complications | complications.md |
| Workout sessions, HealthKit | workouts.md |
| iPhone ↔ Watch sync | watch-connectivity.md |
| 需求 | 参考文档 |
|---|---|
| 表盘复杂功能 | complications.md |
| 运动会话、HealthKit | workouts.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
最佳实践
- Glanceable - Quick information access
- Large targets - Easy tapping
- Minimal input - Reduce typing
- Complications - Update watch face data
- Background refresh - Efficient updates
- Test on device - Simulator differs from hardware
- 便于快速查看 - 实现信息的快速访问
- 大触控目标 - 便于点击操作
- 最少输入 - 减少文字输入操作
- 表盘复杂功能 - 更新表盘数据
- 后台刷新 - 高效的更新机制
- 真机测试 - 模拟器与硬件存在差异