hig
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseHuman Interface Guidelines Reference
人机界面指南参考文档
Local greppable copy of Apple's Human Interface Guidelines — an on-demand fact
lookup, not design direction.
Use it to answer factual questions: what a system component can do, what Apple
calls something, accessibility and ergonomic minimums (44pt hit targets,
Dynamic Type behavior, contrast), and conventions App Review actually checks.
Visual design in our repos is the designing model's own taste. Consult the
HIG for facts, never for aesthetics — it describes what the system provides
and requires, not what your screen should look like.
Apple人机界面指南的本地可grep检索副本——用于按需查询事实,而非提供设计方向。
可用于解答以下事实类问题:系统组件的功能、Apple对特定元素的命名、无障碍设计与人体工学最低要求(44pt点击目标、Dynamic Type行为、对比度),以及App审核实际会检查的规范。
我们代码库中的视觉设计仅代表设计模型自身风格。 请仅参考HIG获取事实信息,切勿将其作为美学依据——它描述的是系统提供的功能和要求,而非你的界面应有的外观。
Downloaded Reference Files
已下载的参考文件
All key HIG documentation is available locally (grep-friendly):
所有核心HIG文档均已本地存储(支持grep检索):
Getting Started
入门指南
| File | Content | Size |
|---|---|---|
| hig-index.md | Full HIG table of contents | 11KB |
| designing-for-ios.md | iOS design principles | 5KB |
| 文件 | 内容 | 大小 |
|---|---|---|
| hig-index.md | HIG完整目录 | 11KB |
| designing-for-ios.md | iOS设计原则 | 5KB |
Foundations
基础设计
| File | Content | Size |
|---|---|---|
| app-icons.md | App icon design guidelines | 14KB |
| color.md | Color usage and system colors | 17KB |
| typography.md | Fonts, text styles, Dynamic Type | 17KB |
| layout.md | Layout principles, safe areas | 21KB |
| materials.md | Materials, blur effects, vibrancy | 14KB |
| motion.md | Animation principles | 9KB |
| accessibility.md | Accessibility best practices | 19KB |
| sf-symbols.md | SF Symbols usage | 21KB |
| 文件 | 内容 | 大小 |
|---|---|---|
| app-icons.md | App图标设计指南 | 14KB |
| color.md | 色彩使用与系统颜色 | 17KB |
| typography.md | 字体、文本样式、Dynamic Type | 17KB |
| layout.md | 布局原则、安全区域 | 21KB |
| materials.md | 材质、模糊效果、动态视觉效果 | 14KB |
| motion.md | 动画原则 | 9KB |
| accessibility.md | 无障碍设计最佳实践 | 19KB |
| sf-symbols.md | SF Symbols使用规范 | 21KB |
Patterns
设计模式
| File | Content | Size |
|---|---|---|
| onboarding.md | Onboarding flows | 6KB |
| modality.md | Modal presentations | 7KB |
| launching.md | App launch experience | 6KB |
| feedback.md | User feedback patterns | 5KB |
| playing-haptics.md | Haptic feedback | 10KB |
| searching.md | Search patterns | 7KB |
| settings.md | Settings patterns | 7KB |
| 文件 | 内容 | 大小 |
|---|---|---|
| onboarding.md | 引导流程 | 6KB |
| modality.md | 模态展示 | 7KB |
| launching.md | App启动体验 | 6KB |
| feedback.md | 用户反馈模式 | 5KB |
| playing-haptics.md | 触觉反馈 | 10KB |
| searching.md | 搜索模式 | 7KB |
| settings.md | 设置页面模式 | 7KB |
Components - Navigation
组件 - 导航
| File | Content | Size |
|---|---|---|
| tab-bars.md | Tab bar design | 11KB |
| navigation-bars.md | Navigation bar patterns | 17KB |
| toolbars.md | Toolbar design | 17KB |
| sidebars.md | Sidebar patterns | 8KB |
| 文件 | 内容 | 大小 |
|---|---|---|
| tab-bars.md | 标签栏设计 | 11KB |
| navigation-bars.md | 导航栏模式 | 17KB |
| toolbars.md | 工具栏设计 | 17KB |
| sidebars.md | 侧边栏模式 | 8KB |
Components - Presentation
组件 - 展示
| File | Content | Size |
|---|---|---|
| sheets.md | Sheet presentations | 11KB |
| alerts.md | Alert dialogs | 10KB |
| action-sheets.md | Action sheets | 4KB |
| menus.md | Menu design | 14KB |
| 文件 | 内容 | 大小 |
|---|---|---|
| sheets.md | 表单页展示 | 11KB |
| alerts.md | 警告对话框 | 10KB |
| action-sheets.md | 操作表单 | 4KB |
| menus.md | 菜单设计 | 14KB |
Components - Controls
组件 - 控件
| File | Content | Size |
|---|---|---|
| buttons.md | Button styles and usage | 17KB |
| lists-and-tables.md | List and table patterns | 9KB |
| toggles.md | Toggle/switch design | 9KB |
| pickers.md | Picker controls | 6KB |
| sliders.md | Slider controls | 6KB |
| steppers.md | Stepper controls | 2KB |
| text-fields.md | Text input fields | 6KB |
| 文件 | 内容 | 大小 |
|---|---|---|
| buttons.md | 按钮样式与使用规范 | 17KB |
| lists-and-tables.md | 列表与表格模式 | 9KB |
| toggles.md | 开关控件设计 | 9KB |
| pickers.md | 选择器控件 | 6KB |
| sliders.md | 滑块控件 | 6KB |
| steppers.md | 步进器控件 | 2KB |
| text-fields.md | 文本输入框 | 6KB |
Searching the Docs
文档检索
bash
undefinedbash
undefinedFind color guidance
查找色彩相关指南
grep -i "semantic" color.md
grep -i "semantic" color.md
Find button styles
查找按钮样式
grep -i "bordered" buttons.md
grep -i "bordered" buttons.md
Find haptic patterns
查找触觉反馈模式
grep -i "notification" playing-haptics.md
grep -i "notification" playing-haptics.md
Browse the full HIG index
浏览完整HIG目录
grep -i "navigation" hig-index.md
undefinedgrep -i "navigation" hig-index.md
undefinedFetching More Docs
获取更多文档
- Search this skill's local files first.
.md - If the topic is not here, check the other installed Apple skills you have available by their names, descriptions, or frontmatter, then grep their local files. This is faster and uses less context than fetching new docs from the internet.
SKILL.md - If no installed skill has the page, use the relevant Human Interface Guidelines path with the Markdown mirror. For example,
sosumi.aimaps to/design/human-interface-guidelines/buttons.https://sosumi.ai/design/human-interface-guidelines/buttons
- 优先检索本技能本地的 文件。
.md - 如果所需主题未包含在此处,请查看你已安装的其他Apple技能的名称、描述或 前置内容,然后检索它们的本地文件。这比从互联网获取新文档更快,且占用更少上下文资源。
SKILL.md - 如果已安装的技能中没有相关页面,请使用对应的人机界面指南路径访问 的Markdown镜像。例如,
sosumi.ai对应/design/human-interface-guidelines/buttons。https://sosumi.ai/design/human-interface-guidelines/buttons
Common HIG Doc Paths
常见HIG文档路径
| Topic | URL Path |
|---|---|
| Full Index | |
| iOS Design | |
| iPadOS Design | |
| macOS Design | |
| App Icons | |
| Color | |
| Typography | |
| Layout | |
| Accessibility | |
| SF Symbols | |
| Buttons | |
| Tab Bars | |
| Navigation Bars | |
| Sheets | |
| Alerts | |
| 主题 | URL路径 |
|---|---|
| 完整目录 | |
| iOS设计 | |
| iPadOS设计 | |
| macOS设计 | |
| App图标 | |
| 色彩 | |
| 排版 | |
| 布局 | |
| 无障碍设计 | |
| SF Symbols | |
| 按钮 | |
| 标签栏 | |
| 导航栏 | |
| 表单页 | |
| 警告框 | |
Quick Facts
快速事实
System Button Styles (iOS)
iOS系统按钮样式
What the system provides out of the box:
- Plain - Text only, minimal visual weight
- Gray - Gray background
- Tinted - Tinted background with accent color
- Filled - Solid background
- Bordered - Outlined with border
- Bordered Prominent - Filled background, high prominence
系统默认提供的按钮样式:
- Plain - 仅含文本,视觉权重极低
- Gray - 灰色背景
- Tinted - 带有强调色的背景
- Filled - 纯色背景
- Bordered - 带边框的轮廓样式
- Bordered Prominent - 纯色背景,高视觉突出度
Haptic Feedback Types
触觉反馈类型
- Selection - Light tap for selection changes
- Impact - Light/medium/heavy/rigid/soft for collisions
- Notification - Success/warning/error for outcomes
- Selection - 轻量点击,用于选择变更场景
- Impact - 轻/中/重/刚性/软性反馈,用于碰撞场景
- Notification - 成功/警告/错误反馈,用于结果提示
Safe Areas (ergonomic facts)
安全区域(人体工学事实)
- Content outside safe areas can be clipped by the notch/Dynamic Island, home indicator, or rounded corners
- Interactive elements outside safe areas may be unreachable or intercepted by system gestures
- Backgrounds can extend edge-to-edge without those risks
- 安全区域外的内容可能会被刘海/Dynamic Island、Home指示器或圆角裁切
- 安全区域外的交互元素可能无法被触及,或被系统手势拦截
- 背景可延伸至全屏,不会存在上述风险