mobileui-os 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +47 -0
- package/CHANGELOG.md +25 -0
- package/README.md +78 -0
- package/bin/cli.mjs +375 -0
- package/knowledge/android/00-apple-to-android-adaption.md +1499 -0
- package/knowledge/android/accessibility.md +333 -0
- package/knowledge/android/components-controls.md +270 -0
- package/knowledge/android/material-design-3.md +174 -0
- package/knowledge/android/navigation-patterns.md +212 -0
- package/knowledge/apple/00-skill-reading-protocol.md +1296 -0
- package/knowledge/apple/Accessibility, Inclusive Design & Human Factors Intelligence.md +735 -0
- package/knowledge/apple/Advanced Interaction Patterns, Gestures, Feedback & State Transitions.md +1140 -0
- package/knowledge/apple/Advanced Navigation, Information Architecture & Wayfinding.md +551 -0
- package/knowledge/apple/Autonomus Ui-UX Improvement Loop.md +611 -0
- package/knowledge/apple/Color, Materials, Contrast, Themes & Visual Depth.md +1351 -0
- package/knowledge/apple/Content, Copy, Microinteractions & UX Communication.md +642 -0
- package/knowledge/apple/Data-Heavy Interfaces, Tables, Lists, Search, Filtering & Large-Scale Content.md +721 -0
- package/knowledge/apple/Design Systems & Component Architecture.md +412 -0
- package/knowledge/apple/Forms, Input, Data Entry & Validation Intelligence.md +705 -0
- package/knowledge/apple/Interaction, State & Edge-Case Engineering.md +491 -0
- package/knowledge/apple/Interaction-behaviour.md +1378 -0
- package/knowledge/apple/Layout Architecture, Responsive Design & Spatial Systems.md +1365 -0
- package/knowledge/apple/MASTER UI-UX ORCHESTRATOR.md +1210 -0
- package/knowledge/apple/Navigation Architecture, Routing, Deep Linking & State Restoration.md +1392 -0
- package/knowledge/apple/Navigation, Information Architecture & Spatial Hierarchy.md +1613 -0
- package/knowledge/apple/Notifications, Permissions, Privacy and Trust.md +1540 -0
- package/knowledge/apple/Patterns-templates-composition.md +647 -0
- package/knowledge/apple/Performance, Perceived Speed, Motion & Rendering Intelligence.md +855 -0
- package/knowledge/apple/Responsive, Adaptive & Cross-Platform UI Intelligence.md +669 -0
- package/knowledge/apple/Responsive, Adaptive, Accessible & Performant UI.md +545 -0
- package/knowledge/apple/Tablet Adaptation & Multi-Device UX.md +1447 -0
- package/knowledge/apple/UI Implementation & Refactoring.md +498 -0
- package/knowledge/apple/UI-UX Decision-Making, Prioritization & Trade-offs.md +533 -0
- package/knowledge/apple/UI-UX Project Lifecycle & Delivery.md +544 -0
- package/knowledge/apple/User Flows & Experience Architecture.md +335 -0
- package/knowledge/apple/Visual Design Systems, Theming, Tokens & Brand Intelligence.md +764 -0
- package/knowledge/apple/Visual QA, Testing & Validation.md +557 -0
- package/knowledge/apple/accessibility-inclusive-interaction.md +1361 -0
- package/knowledge/apple/accessibility.md +2162 -0
- package/knowledge/apple/color.md +1933 -0
- package/knowledge/apple/component-architecture.md +2208 -0
- package/knowledge/apple/components.md +2172 -0
- package/knowledge/apple/design-decision-framework.md +1883 -0
- package/knowledge/apple/design-review-engine.md +2108 -0
- package/knowledge/apple/design-tokens.md +1943 -0
- package/knowledge/apple/designing-for-ios.md +1680 -0
- package/knowledge/apple/gestures, touch behavior, feedback, motion, and micro-interactions.md +1538 -0
- package/knowledge/apple/hig-foundation.md +1806 -0
- package/knowledge/apple/iconography.md +1903 -0
- package/knowledge/apple/interaction-patterns.md +2513 -0
- package/knowledge/apple/interaction.md +2141 -0
- package/knowledge/apple/ios-alerts-confirmations-destructive-actions.md +1342 -0
- package/knowledge/apple/ios-components-and-controls.md +1634 -0
- package/knowledge/apple/ios-components-patterns.md +1343 -0
- package/knowledge/apple/ios-design-system-architecture.md +1520 -0
- package/knowledge/apple/ios-empty-error-offline-states.md +1370 -0
- package/knowledge/apple/ios-empty-loading-error-recovery.md +1674 -0
- package/knowledge/apple/ios-forms-and-input.md +1458 -0
- package/knowledge/apple/ios-forms-input-data-entry.md +1308 -0
- package/knowledge/apple/ios-gestures-and-touch.md +1272 -0
- package/knowledge/apple/ios-lists-collections-and-data-display.md +1735 -0
- package/knowledge/apple/ios-loading-progress-async-states.md +1378 -0
- package/knowledge/apple/ios-materials-and-surfaces.md +1543 -0
- package/knowledge/apple/ios-motion-animation-transitions.md +1178 -0
- package/knowledge/apple/ios-navigation-and-information-architecture.md +1674 -0
- package/knowledge/apple/ios-navigation-user-flows-design-architecture.md +1195 -0
- package/knowledge/apple/ios-search-and-discovery.md +1456 -0
- package/knowledge/apple/ios-search-filtering-discovery.md +1402 -0
- package/knowledge/apple/ios-sheets-modals-popovers.md +1205 -0
- package/knowledge/apple/ios-typography-icons-visual-hierarchy.md +1431 -0
- package/knowledge/apple/layout.md +2331 -0
- package/knowledge/apple/media-centric-content-ui-patterns.md +1470 -0
- package/knowledge/apple/motion, transitions, physics, and animation language.md +1535 -0
- package/knowledge/apple/motion-and-animation.md +1698 -0
- package/knowledge/apple/motion.md +2087 -0
- package/knowledge/apple/navigation.md +2281 -0
- package/knowledge/apple/responsive-adaptive.md +2159 -0
- package/knowledge/apple/screen-architecture.md +2067 -0
- package/knowledge/apple/typography, Content Hierarchy & Readability.md +1411 -0
- package/knowledge/apple/typography.md +1802 -0
- package/knowledge/apple/ui-ux inteligence audit.md +106 -0
- package/knowledge/apple/visual-design-and-premium-ui.md +1555 -0
- package/knowledge/apple/visual-hierarchy-engine.md +1647 -0
- package/knowledge/apple/visual-materials.md +2189 -0
- package/package.json +53 -0
- package/principles/design-principles.md +37 -0
- package/principles/platform-principles.md +25 -0
- package/principles/ux-principles.md +16 -0
- package/references/official-links.md +11 -0
- package/skills/accessibility-engineer/SKILL.md +125 -0
- package/skills/analytics-engineer/SKILL.md +283 -0
- package/skills/animation-engineer/SKILL.md +316 -0
- package/skills/component-designer/SKILL.md +75 -0
- package/skills/component-library-engineer/SKILL.md +140 -0
- package/skills/component-library-ops/SKILL.md +155 -0
- package/skills/design-system/SKILL.md +77 -0
- package/skills/design-token-engineer/SKILL.md +203 -0
- package/skills/design-token-pipeline/SKILL.md +277 -0
- package/skills/device-lab-engineer/SKILL.md +387 -0
- package/skills/forms-engineer/SKILL.md +79 -0
- package/skills/internationalization-engineer/SKILL.md +256 -0
- package/skills/motion-designer/SKILL.md +77 -0
- package/skills/native-data-fetching/SKILL.md +50 -0
- package/skills/navigation-architect/SKILL.md +65 -0
- package/skills/performance-engineer/SKILL.md +250 -0
- package/skills/platform-specialist/SKILL.md +95 -0
- package/skills/pre-release-gate/SKILL.md +75 -0
- package/skills/screen-designer/SKILL.md +117 -0
- package/skills/security-engineer/SKILL.md +375 -0
- package/skills/skills.json +134 -0
- package/skills/testing-auditor/SKILL.md +62 -0
- package/skills/ui-architect/SKILL.md +86 -0
- package/skills/ui-implementer/SKILL.md +188 -0
- package/skills/ux-architect/SKILL.md +49 -0
- package/skills/ux-auditor/SKILL.md +52 -0
- package/skills/visual-auditor/SKILL.md +71 -0
- package/templates/audit-report.md +29 -0
- package/templates/design-tokens.ts +33 -0
- package/templates/screen-spec.md +61 -0
- package/workflows/new-screen.md +17 -0
- package/workflows/pre-release.md +21 -0
- package/workflows/redesign.md +14 -0
- package/workflows/ui-audit.md +22 -0
|
@@ -0,0 +1,1680 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
````md
|
|
4
|
+
# Designing for iOS
|
|
5
|
+
|
|
6
|
+
> Agent knowledge module for designing interfaces that feel intentional,
|
|
7
|
+
> familiar, adaptive, and native on iPhone and iPad.
|
|
8
|
+
|
|
9
|
+
Version: 1.0
|
|
10
|
+
Platform: iOS / iPadOS
|
|
11
|
+
Role: Platform-specific design knowledge
|
|
12
|
+
Parent: knowledge/apple/hig-foundations.md
|
|
13
|
+
Use with: MobileUI-OS
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# 1. PURPOSE
|
|
18
|
+
|
|
19
|
+
This module teaches an agent how to design specifically for Apple's mobile
|
|
20
|
+
platforms.
|
|
21
|
+
|
|
22
|
+
The objective is not to reproduce Apple's visual appearance.
|
|
23
|
+
|
|
24
|
+
The objective is to understand how an application should behave when users
|
|
25
|
+
interact with it on iPhone and iPad.
|
|
26
|
+
|
|
27
|
+
The agent should consider:
|
|
28
|
+
|
|
29
|
+
- touch
|
|
30
|
+
- reachability
|
|
31
|
+
- screen size
|
|
32
|
+
- orientation
|
|
33
|
+
- safe areas
|
|
34
|
+
- navigation
|
|
35
|
+
- system gestures
|
|
36
|
+
- Dynamic Type
|
|
37
|
+
- Dark Mode
|
|
38
|
+
- accessibility
|
|
39
|
+
- multitasking
|
|
40
|
+
- device capabilities
|
|
41
|
+
- system conventions
|
|
42
|
+
- platform expectations
|
|
43
|
+
|
|
44
|
+
A successful iOS interface should feel like it belongs on the platform
|
|
45
|
+
without losing the product's own identity.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
# 2. CORE MINDSET
|
|
50
|
+
|
|
51
|
+
When designing for iOS, think:
|
|
52
|
+
|
|
53
|
+
```text
|
|
54
|
+
User goal
|
|
55
|
+
↓
|
|
56
|
+
Platform context
|
|
57
|
+
↓
|
|
58
|
+
Information hierarchy
|
|
59
|
+
↓
|
|
60
|
+
Native interaction pattern
|
|
61
|
+
↓
|
|
62
|
+
Product identity
|
|
63
|
+
↓
|
|
64
|
+
Implementation
|
|
65
|
+
````
|
|
66
|
+
|
|
67
|
+
Do NOT think:
|
|
68
|
+
|
|
69
|
+
```text
|
|
70
|
+
Make a generic mobile UI
|
|
71
|
+
↓
|
|
72
|
+
Add rounded cards
|
|
73
|
+
↓
|
|
74
|
+
Add gradient
|
|
75
|
+
↓
|
|
76
|
+
Add iOS-looking icons
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Platform quality comes from behavior as much as appearance.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
# 3. DESIGN FOR THE PRIMARY TASK
|
|
84
|
+
|
|
85
|
+
Every iOS screen should have a clear primary purpose.
|
|
86
|
+
|
|
87
|
+
Before designing, identify:
|
|
88
|
+
|
|
89
|
+
* the user's current task
|
|
90
|
+
* the most important content
|
|
91
|
+
* the primary action
|
|
92
|
+
* secondary actions
|
|
93
|
+
* contextual actions
|
|
94
|
+
|
|
95
|
+
The primary task should be immediately understandable.
|
|
96
|
+
|
|
97
|
+
## Agent questions
|
|
98
|
+
|
|
99
|
+
Ask:
|
|
100
|
+
|
|
101
|
+
> Why did the user open this screen?
|
|
102
|
+
|
|
103
|
+
> What do they need to see first?
|
|
104
|
+
|
|
105
|
+
> What action are they most likely to take?
|
|
106
|
+
|
|
107
|
+
> Can that action be completed without unnecessary navigation?
|
|
108
|
+
|
|
109
|
+
> What can safely remain secondary?
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
# 4. FOCUS THE INTERFACE
|
|
114
|
+
|
|
115
|
+
Mobile screens have limited physical space.
|
|
116
|
+
|
|
117
|
+
Do not attempt to expose every feature simultaneously.
|
|
118
|
+
|
|
119
|
+
Use:
|
|
120
|
+
|
|
121
|
+
* hierarchy
|
|
122
|
+
* progressive disclosure
|
|
123
|
+
* contextual controls
|
|
124
|
+
* sheets
|
|
125
|
+
* menus
|
|
126
|
+
* navigation
|
|
127
|
+
* secondary screens
|
|
128
|
+
|
|
129
|
+
to manage complexity.
|
|
130
|
+
|
|
131
|
+
## Rule
|
|
132
|
+
|
|
133
|
+
The limited screen size should produce prioritization,
|
|
134
|
+
not cramped interfaces.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
# 5. TOUCH IS THE PRIMARY INPUT
|
|
139
|
+
|
|
140
|
+
Design for fingers rather than mouse pointers.
|
|
141
|
+
|
|
142
|
+
Touch interactions should be:
|
|
143
|
+
|
|
144
|
+
* comfortable
|
|
145
|
+
* predictable
|
|
146
|
+
* forgiving
|
|
147
|
+
* discoverable
|
|
148
|
+
* responsive
|
|
149
|
+
|
|
150
|
+
Do not make users precisely target tiny visual elements.
|
|
151
|
+
|
|
152
|
+
## Important distinction
|
|
153
|
+
|
|
154
|
+
Visible size != interactive size.
|
|
155
|
+
|
|
156
|
+
An icon may appear visually small while its interactive region is larger.
|
|
157
|
+
|
|
158
|
+
Example:
|
|
159
|
+
|
|
160
|
+
```text
|
|
161
|
+
visible icon
|
|
162
|
+
↓
|
|
163
|
+
┌───────────┐
|
|
164
|
+
│ │
|
|
165
|
+
│ ◉ │
|
|
166
|
+
│ │
|
|
167
|
+
└───────────┘
|
|
168
|
+
touch area
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
The visual object and hit target can have different dimensions.
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
# 6. TOUCH TARGET PRINCIPLE
|
|
176
|
+
|
|
177
|
+
Interactive controls should have sufficiently large hit regions.
|
|
178
|
+
|
|
179
|
+
Apple commonly recommends a minimum target around 44 × 44 points for
|
|
180
|
+
comfortable interaction.
|
|
181
|
+
|
|
182
|
+
Treat this as a usability baseline rather than an excuse to make every
|
|
183
|
+
visible icon 44 points.
|
|
184
|
+
|
|
185
|
+
## Agent rule
|
|
186
|
+
|
|
187
|
+
When a control is visually small:
|
|
188
|
+
|
|
189
|
+
* increase its hit area
|
|
190
|
+
* provide adequate spacing
|
|
191
|
+
* avoid neighboring controls that are too close
|
|
192
|
+
|
|
193
|
+
Especially inspect:
|
|
194
|
+
|
|
195
|
+
* toolbar icons
|
|
196
|
+
* close buttons
|
|
197
|
+
* navigation buttons
|
|
198
|
+
* media controls
|
|
199
|
+
* list actions
|
|
200
|
+
* checkboxes
|
|
201
|
+
* switches
|
|
202
|
+
* contextual actions
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
# 7. THUMB REACHABILITY
|
|
207
|
+
|
|
208
|
+
Mobile interaction is physical.
|
|
209
|
+
|
|
210
|
+
Frequently used controls should be reasonably reachable during ordinary
|
|
211
|
+
one-handed use.
|
|
212
|
+
|
|
213
|
+
Consider:
|
|
214
|
+
|
|
215
|
+
* device height
|
|
216
|
+
* bottom navigation
|
|
217
|
+
* floating controls
|
|
218
|
+
* large primary actions
|
|
219
|
+
* media controls
|
|
220
|
+
* editing actions
|
|
221
|
+
|
|
222
|
+
## Agent rule
|
|
223
|
+
|
|
224
|
+
High-frequency actions should not unnecessarily require reaching the
|
|
225
|
+
least comfortable part of the screen.
|
|
226
|
+
|
|
227
|
+
However, do not blindly place everything at the bottom.
|
|
228
|
+
|
|
229
|
+
Information hierarchy and platform conventions still matter.
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
# 8. SAFE AREAS
|
|
234
|
+
|
|
235
|
+
Content should respect system-managed regions.
|
|
236
|
+
|
|
237
|
+
Consider:
|
|
238
|
+
|
|
239
|
+
* status bar
|
|
240
|
+
* Dynamic Island
|
|
241
|
+
* camera/sensor area
|
|
242
|
+
* home indicator
|
|
243
|
+
* navigation regions
|
|
244
|
+
* device corners
|
|
245
|
+
* keyboard
|
|
246
|
+
* sheets
|
|
247
|
+
* system overlays
|
|
248
|
+
|
|
249
|
+
## Rule
|
|
250
|
+
|
|
251
|
+
Never assume the screen is a simple rectangle from:
|
|
252
|
+
|
|
253
|
+
```text
|
|
254
|
+
0,0
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
to:
|
|
258
|
+
|
|
259
|
+
```text
|
|
260
|
+
width,height
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
The usable content region is influenced by the operating system.
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
# 9. SAFE AREA PRINCIPLE
|
|
268
|
+
|
|
269
|
+
Content that can be obscured by system UI should respect safe areas.
|
|
270
|
+
|
|
271
|
+
Examples:
|
|
272
|
+
|
|
273
|
+
* primary buttons
|
|
274
|
+
* important text
|
|
275
|
+
* media controls
|
|
276
|
+
* lists
|
|
277
|
+
* floating controls
|
|
278
|
+
* input fields
|
|
279
|
+
|
|
280
|
+
Backgrounds may intentionally extend behind system regions when appropriate.
|
|
281
|
+
|
|
282
|
+
Foreground content should remain usable.
|
|
283
|
+
|
|
284
|
+
## Agent question
|
|
285
|
+
|
|
286
|
+
Ask:
|
|
287
|
+
|
|
288
|
+
> Can the user actually interact with this element comfortably on a real
|
|
289
|
+
> device?
|
|
290
|
+
|
|
291
|
+
Not:
|
|
292
|
+
|
|
293
|
+
> Does this look aligned in a simulator screenshot?
|
|
294
|
+
|
|
295
|
+
---
|
|
296
|
+
|
|
297
|
+
# 10. SCREEN EDGES
|
|
298
|
+
|
|
299
|
+
Do not treat screen edges as ordinary content boundaries.
|
|
300
|
+
|
|
301
|
+
Edges can be affected by:
|
|
302
|
+
|
|
303
|
+
* system gestures
|
|
304
|
+
* rounded corners
|
|
305
|
+
* safe areas
|
|
306
|
+
* navigation
|
|
307
|
+
* keyboard
|
|
308
|
+
* device-specific geometry
|
|
309
|
+
|
|
310
|
+
Avoid placing important controls directly against edges without considering
|
|
311
|
+
system interaction.
|
|
312
|
+
|
|
313
|
+
---
|
|
314
|
+
|
|
315
|
+
# 11. ORIENTATION
|
|
316
|
+
|
|
317
|
+
A well-designed application should consider orientation changes where the
|
|
318
|
+
product supports them.
|
|
319
|
+
|
|
320
|
+
Orientation changes can alter:
|
|
321
|
+
|
|
322
|
+
* content density
|
|
323
|
+
* navigation
|
|
324
|
+
* media layouts
|
|
325
|
+
* toolbars
|
|
326
|
+
* grids
|
|
327
|
+
* editing interfaces
|
|
328
|
+
* keyboard behavior
|
|
329
|
+
|
|
330
|
+
## Agent rule
|
|
331
|
+
|
|
332
|
+
Do not simply stretch the portrait layout into landscape.
|
|
333
|
+
|
|
334
|
+
Reconsider the information hierarchy.
|
|
335
|
+
|
|
336
|
+
Example:
|
|
337
|
+
|
|
338
|
+
```text
|
|
339
|
+
Portrait
|
|
340
|
+
|
|
341
|
+
Artwork
|
|
342
|
+
Track
|
|
343
|
+
Progress
|
|
344
|
+
Controls
|
|
345
|
+
Queue
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
could become:
|
|
349
|
+
|
|
350
|
+
```text
|
|
351
|
+
Landscape
|
|
352
|
+
|
|
353
|
+
Artwork | Track information
|
|
354
|
+
| Progress
|
|
355
|
+
| Controls
|
|
356
|
+
|
|
|
357
|
+
| Queue
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
The content remains the same.
|
|
361
|
+
|
|
362
|
+
The composition adapts.
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
366
|
+
# 12. RESPONSIVE LAYOUT
|
|
367
|
+
|
|
368
|
+
Responsive design is not only about screen width.
|
|
369
|
+
|
|
370
|
+
Consider:
|
|
371
|
+
|
|
372
|
+
* width
|
|
373
|
+
* height
|
|
374
|
+
* orientation
|
|
375
|
+
* text size
|
|
376
|
+
* split views
|
|
377
|
+
* multitasking
|
|
378
|
+
* accessibility settings
|
|
379
|
+
* keyboard visibility
|
|
380
|
+
|
|
381
|
+
Use layout systems that adapt naturally.
|
|
382
|
+
|
|
383
|
+
Avoid excessive absolute positioning.
|
|
384
|
+
|
|
385
|
+
Prefer:
|
|
386
|
+
|
|
387
|
+
* flex layouts
|
|
388
|
+
* adaptive containers
|
|
389
|
+
* content-driven sizing
|
|
390
|
+
* platform layout primitives
|
|
391
|
+
* responsive grids where appropriate
|
|
392
|
+
|
|
393
|
+
---
|
|
394
|
+
|
|
395
|
+
# 13. iPAD CONSIDERATIONS
|
|
396
|
+
|
|
397
|
+
Do not treat iPad as a giant iPhone.
|
|
398
|
+
|
|
399
|
+
The additional space enables:
|
|
400
|
+
|
|
401
|
+
* persistent navigation
|
|
402
|
+
* sidebars
|
|
403
|
+
* multi-column layouts
|
|
404
|
+
* richer editing environments
|
|
405
|
+
* simultaneous information views
|
|
406
|
+
* larger content previews
|
|
407
|
+
|
|
408
|
+
## Agent rule
|
|
409
|
+
|
|
410
|
+
When iPad is supported, ask:
|
|
411
|
+
|
|
412
|
+
> What additional information can be meaningfully visible at once?
|
|
413
|
+
|
|
414
|
+
Do not merely scale every element upward.
|
|
415
|
+
|
|
416
|
+
---
|
|
417
|
+
|
|
418
|
+
# 14. NAVIGATION
|
|
419
|
+
|
|
420
|
+
Navigation establishes the user's mental model of the application.
|
|
421
|
+
|
|
422
|
+
Users should understand:
|
|
423
|
+
|
|
424
|
+
* where they are
|
|
425
|
+
* what level they are viewing
|
|
426
|
+
* how they got there
|
|
427
|
+
* how to go back
|
|
428
|
+
* where major destinations live
|
|
429
|
+
|
|
430
|
+
Use established platform navigation patterns.
|
|
431
|
+
|
|
432
|
+
Avoid inventing navigation systems without a strong reason.
|
|
433
|
+
|
|
434
|
+
---
|
|
435
|
+
|
|
436
|
+
# 15. NAVIGATION HIERARCHY
|
|
437
|
+
|
|
438
|
+
Think of navigation as levels.
|
|
439
|
+
|
|
440
|
+
Example:
|
|
441
|
+
|
|
442
|
+
```text
|
|
443
|
+
Library
|
|
444
|
+
↓
|
|
445
|
+
Artist
|
|
446
|
+
↓
|
|
447
|
+
Album
|
|
448
|
+
↓
|
|
449
|
+
Track
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
Each level should communicate its relationship to the previous level.
|
|
453
|
+
|
|
454
|
+
Do not make every screen look like a top-level destination.
|
|
455
|
+
|
|
456
|
+
Hierarchy should be visible through:
|
|
457
|
+
|
|
458
|
+
* titles
|
|
459
|
+
* navigation controls
|
|
460
|
+
* transitions
|
|
461
|
+
* content context
|
|
462
|
+
* back behavior
|
|
463
|
+
|
|
464
|
+
---
|
|
465
|
+
|
|
466
|
+
# 16. BACK NAVIGATION
|
|
467
|
+
|
|
468
|
+
Back navigation should be predictable.
|
|
469
|
+
|
|
470
|
+
Users should not have to guess how to return.
|
|
471
|
+
|
|
472
|
+
Preserve navigation history where appropriate.
|
|
473
|
+
|
|
474
|
+
Avoid replacing the user's current location with a completely unrelated
|
|
475
|
+
destination unless the action explicitly requires it.
|
|
476
|
+
|
|
477
|
+
## Agent rule
|
|
478
|
+
|
|
479
|
+
Before changing navigation behavior, ask:
|
|
480
|
+
|
|
481
|
+
> What does the user expect the Back action to do here?
|
|
482
|
+
|
|
483
|
+
---
|
|
484
|
+
|
|
485
|
+
# 17. TAB NAVIGATION
|
|
486
|
+
|
|
487
|
+
Use tabs for major peer destinations.
|
|
488
|
+
|
|
489
|
+
Good candidates:
|
|
490
|
+
|
|
491
|
+
```text
|
|
492
|
+
Home
|
|
493
|
+
Library
|
|
494
|
+
Search
|
|
495
|
+
Favorites
|
|
496
|
+
Settings
|
|
497
|
+
```
|
|
498
|
+
|
|
499
|
+
Poor candidates:
|
|
500
|
+
|
|
501
|
+
```text
|
|
502
|
+
Edit
|
|
503
|
+
Save
|
|
504
|
+
Share
|
|
505
|
+
Delete
|
|
506
|
+
Sort
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
Those are actions, not destinations.
|
|
510
|
+
|
|
511
|
+
## Rule
|
|
512
|
+
|
|
513
|
+
Tabs represent places or modes.
|
|
514
|
+
|
|
515
|
+
They should not become a general-purpose action toolbar.
|
|
516
|
+
|
|
517
|
+
---
|
|
518
|
+
|
|
519
|
+
# 18. TAB DESIGN
|
|
520
|
+
|
|
521
|
+
Avoid excessive tab counts.
|
|
522
|
+
|
|
523
|
+
Each destination should:
|
|
524
|
+
|
|
525
|
+
* have clear meaning
|
|
526
|
+
* be independently useful
|
|
527
|
+
* remain recognizable
|
|
528
|
+
* preserve navigation state where appropriate
|
|
529
|
+
|
|
530
|
+
Do not create tabs simply because the screen has available space.
|
|
531
|
+
|
|
532
|
+
---
|
|
533
|
+
|
|
534
|
+
# 19. NAVIGATION BAR
|
|
535
|
+
|
|
536
|
+
Navigation bars should provide context and appropriate controls.
|
|
537
|
+
|
|
538
|
+
Typical responsibilities:
|
|
539
|
+
|
|
540
|
+
* title
|
|
541
|
+
* back navigation
|
|
542
|
+
* contextual actions
|
|
543
|
+
* destination identity
|
|
544
|
+
|
|
545
|
+
Avoid overcrowding.
|
|
546
|
+
|
|
547
|
+
If a navigation bar contains:
|
|
548
|
+
|
|
549
|
+
```text
|
|
550
|
+
←
|
|
551
|
+
Title
|
|
552
|
+
Search
|
|
553
|
+
Sort
|
|
554
|
+
Filter
|
|
555
|
+
Share
|
|
556
|
+
Edit
|
|
557
|
+
Delete
|
|
558
|
+
More
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
consider whether some actions belong elsewhere.
|
|
562
|
+
|
|
563
|
+
---
|
|
564
|
+
|
|
565
|
+
# 20. TOOLBARS
|
|
566
|
+
|
|
567
|
+
Toolbars are useful for actions closely related to the current context.
|
|
568
|
+
|
|
569
|
+
Prioritize:
|
|
570
|
+
|
|
571
|
+
1. most frequent
|
|
572
|
+
2. most important
|
|
573
|
+
3. contextual
|
|
574
|
+
4. secondary
|
|
575
|
+
|
|
576
|
+
Do not expose every possible command.
|
|
577
|
+
|
|
578
|
+
Advanced actions can move into:
|
|
579
|
+
|
|
580
|
+
* menus
|
|
581
|
+
* sheets
|
|
582
|
+
* contextual actions
|
|
583
|
+
|
|
584
|
+
---
|
|
585
|
+
|
|
586
|
+
# 21. CONTEXTUAL ACTIONS
|
|
587
|
+
|
|
588
|
+
Actions should appear when relevant.
|
|
589
|
+
|
|
590
|
+
Examples:
|
|
591
|
+
|
|
592
|
+
Selecting a file may reveal:
|
|
593
|
+
|
|
594
|
+
```text
|
|
595
|
+
Share
|
|
596
|
+
Move
|
|
597
|
+
Rename
|
|
598
|
+
Delete
|
|
599
|
+
More
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
Playing music may reveal:
|
|
603
|
+
|
|
604
|
+
```text
|
|
605
|
+
Play/Pause
|
|
606
|
+
Next
|
|
607
|
+
Previous
|
|
608
|
+
Queue
|
|
609
|
+
```
|
|
610
|
+
|
|
611
|
+
Editing a document may reveal:
|
|
612
|
+
|
|
613
|
+
```text
|
|
614
|
+
Undo
|
|
615
|
+
Redo
|
|
616
|
+
Formatting
|
|
617
|
+
Share
|
|
618
|
+
```
|
|
619
|
+
|
|
620
|
+
## Rule
|
|
621
|
+
|
|
622
|
+
Context should determine available actions.
|
|
623
|
+
|
|
624
|
+
---
|
|
625
|
+
|
|
626
|
+
# 22. SHEETS
|
|
627
|
+
|
|
628
|
+
Sheets are appropriate for contextual tasks and choices that temporarily
|
|
629
|
+
require focus.
|
|
630
|
+
|
|
631
|
+
Good examples:
|
|
632
|
+
|
|
633
|
+
* share options
|
|
634
|
+
* filters
|
|
635
|
+
* sorting
|
|
636
|
+
* queue management
|
|
637
|
+
* contextual settings
|
|
638
|
+
* selection actions
|
|
639
|
+
|
|
640
|
+
Avoid turning every secondary screen into a sheet.
|
|
641
|
+
|
|
642
|
+
## Agent question
|
|
643
|
+
|
|
644
|
+
Ask:
|
|
645
|
+
|
|
646
|
+
> Does this task need temporary focused interaction or a full navigation
|
|
647
|
+
> destination?
|
|
648
|
+
|
|
649
|
+
---
|
|
650
|
+
|
|
651
|
+
# 23. MODALITY
|
|
652
|
+
|
|
653
|
+
Modal UI interrupts the normal flow.
|
|
654
|
+
|
|
655
|
+
Therefore it should be justified.
|
|
656
|
+
|
|
657
|
+
Use modality for:
|
|
658
|
+
|
|
659
|
+
* important decisions
|
|
660
|
+
* focused temporary tasks
|
|
661
|
+
* confirmations
|
|
662
|
+
* actions requiring attention
|
|
663
|
+
|
|
664
|
+
Avoid modality for:
|
|
665
|
+
|
|
666
|
+
* routine navigation
|
|
667
|
+
* simple information
|
|
668
|
+
* non-critical status messages
|
|
669
|
+
|
|
670
|
+
---
|
|
671
|
+
|
|
672
|
+
# 24. ALERTS
|
|
673
|
+
|
|
674
|
+
Alerts interrupt the user.
|
|
675
|
+
|
|
676
|
+
Use them sparingly.
|
|
677
|
+
|
|
678
|
+
Appropriate situations include:
|
|
679
|
+
|
|
680
|
+
* destructive actions
|
|
681
|
+
* critical decisions
|
|
682
|
+
* important failures
|
|
683
|
+
* consequences requiring confirmation
|
|
684
|
+
|
|
685
|
+
Avoid:
|
|
686
|
+
|
|
687
|
+
```text
|
|
688
|
+
"Welcome!"
|
|
689
|
+
"Saved!"
|
|
690
|
+
"Hello!"
|
|
691
|
+
"Tip!"
|
|
692
|
+
```
|
|
693
|
+
|
|
694
|
+
alerts unless interruption genuinely improves the experience.
|
|
695
|
+
|
|
696
|
+
Prefer:
|
|
697
|
+
|
|
698
|
+
* inline feedback
|
|
699
|
+
* banners
|
|
700
|
+
* toasts where appropriate
|
|
701
|
+
* state changes
|
|
702
|
+
|
|
703
|
+
for non-critical information.
|
|
704
|
+
|
|
705
|
+
---
|
|
706
|
+
|
|
707
|
+
# 25. DESTRUCTIVE ACTIONS
|
|
708
|
+
|
|
709
|
+
Destructive actions deserve stronger protection.
|
|
710
|
+
|
|
711
|
+
Examples:
|
|
712
|
+
|
|
713
|
+
* delete
|
|
714
|
+
* remove permanently
|
|
715
|
+
* reset
|
|
716
|
+
* sign out
|
|
717
|
+
* discard changes
|
|
718
|
+
|
|
719
|
+
Consider:
|
|
720
|
+
|
|
721
|
+
* clear wording
|
|
722
|
+
* contextual placement
|
|
723
|
+
* confirmation when appropriate
|
|
724
|
+
* undo when possible
|
|
725
|
+
|
|
726
|
+
Do not make destructive actions visually equivalent to harmless actions.
|
|
727
|
+
|
|
728
|
+
---
|
|
729
|
+
|
|
730
|
+
# 26. SEARCH
|
|
731
|
+
|
|
732
|
+
Search should behave as a first-class interaction.
|
|
733
|
+
|
|
734
|
+
A search experience should clarify:
|
|
735
|
+
|
|
736
|
+
* where the user is searching
|
|
737
|
+
* what can be searched
|
|
738
|
+
* what the current query is
|
|
739
|
+
* whether filters are active
|
|
740
|
+
* what happens when no results exist
|
|
741
|
+
|
|
742
|
+
## Search states
|
|
743
|
+
|
|
744
|
+
```text
|
|
745
|
+
idle
|
|
746
|
+
typing
|
|
747
|
+
searching
|
|
748
|
+
results
|
|
749
|
+
no results
|
|
750
|
+
error
|
|
751
|
+
```
|
|
752
|
+
|
|
753
|
+
Do not only design the results state.
|
|
754
|
+
|
|
755
|
+
---
|
|
756
|
+
|
|
757
|
+
# 27. LISTS
|
|
758
|
+
|
|
759
|
+
Lists are one of the most important mobile structures.
|
|
760
|
+
|
|
761
|
+
A good list communicates:
|
|
762
|
+
|
|
763
|
+
* item identity
|
|
764
|
+
* hierarchy
|
|
765
|
+
* metadata
|
|
766
|
+
* available actions
|
|
767
|
+
* selection state
|
|
768
|
+
|
|
769
|
+
Avoid overcrowding list rows.
|
|
770
|
+
|
|
771
|
+
## List hierarchy
|
|
772
|
+
|
|
773
|
+
Typical:
|
|
774
|
+
|
|
775
|
+
```text
|
|
776
|
+
Primary label
|
|
777
|
+
Secondary information
|
|
778
|
+
Tertiary metadata
|
|
779
|
+
Trailing action
|
|
780
|
+
```
|
|
781
|
+
|
|
782
|
+
The exact hierarchy depends on the content.
|
|
783
|
+
|
|
784
|
+
---
|
|
785
|
+
|
|
786
|
+
# 28. LIST DENSITY
|
|
787
|
+
|
|
788
|
+
Density should match the task.
|
|
789
|
+
|
|
790
|
+
High-density interfaces may be appropriate for:
|
|
791
|
+
|
|
792
|
+
* file managers
|
|
793
|
+
* developer tools
|
|
794
|
+
* media libraries
|
|
795
|
+
* financial data
|
|
796
|
+
* logs
|
|
797
|
+
|
|
798
|
+
Lower density may be appropriate for:
|
|
799
|
+
|
|
800
|
+
* onboarding
|
|
801
|
+
* reading
|
|
802
|
+
* lifestyle applications
|
|
803
|
+
* visual discovery
|
|
804
|
+
|
|
805
|
+
## Rule
|
|
806
|
+
|
|
807
|
+
Do not use maximum whitespace everywhere.
|
|
808
|
+
|
|
809
|
+
Do not use maximum information density everywhere.
|
|
810
|
+
|
|
811
|
+
Optimize for task efficiency.
|
|
812
|
+
|
|
813
|
+
---
|
|
814
|
+
|
|
815
|
+
# 29. SWIPE ACTIONS
|
|
816
|
+
|
|
817
|
+
Swipe actions can expose contextual operations.
|
|
818
|
+
|
|
819
|
+
Appropriate examples:
|
|
820
|
+
|
|
821
|
+
* delete
|
|
822
|
+
* archive
|
|
823
|
+
* mark read
|
|
824
|
+
* favorite
|
|
825
|
+
* pin
|
|
826
|
+
|
|
827
|
+
## Agent rule
|
|
828
|
+
|
|
829
|
+
Swipe actions should supplement, not replace, discoverable core functionality.
|
|
830
|
+
|
|
831
|
+
Destructive swipe actions require particular care.
|
|
832
|
+
|
|
833
|
+
---
|
|
834
|
+
|
|
835
|
+
# 30. LONG PRESS
|
|
836
|
+
|
|
837
|
+
Long press can expose contextual functionality.
|
|
838
|
+
|
|
839
|
+
Use it when:
|
|
840
|
+
|
|
841
|
+
* users can reasonably discover it
|
|
842
|
+
* there is a clear contextual relationship
|
|
843
|
+
* a visible alternative exists where necessary
|
|
844
|
+
|
|
845
|
+
Do not hide essential operations exclusively behind long press.
|
|
846
|
+
|
|
847
|
+
---
|
|
848
|
+
|
|
849
|
+
# 31. DRAG AND DROP
|
|
850
|
+
|
|
851
|
+
Dragging is useful for:
|
|
852
|
+
|
|
853
|
+
* reordering
|
|
854
|
+
* moving files
|
|
855
|
+
* rearranging playlists
|
|
856
|
+
* organizing content
|
|
857
|
+
|
|
858
|
+
Provide clear visual feedback.
|
|
859
|
+
|
|
860
|
+
The user should understand:
|
|
861
|
+
|
|
862
|
+
* what is being moved
|
|
863
|
+
* where it can be placed
|
|
864
|
+
* what will happen when released
|
|
865
|
+
|
|
866
|
+
---
|
|
867
|
+
|
|
868
|
+
# 32. MEDIA APPLICATIONS
|
|
869
|
+
|
|
870
|
+
Media apps require special consideration.
|
|
871
|
+
|
|
872
|
+
For music/video applications, prioritize:
|
|
873
|
+
|
|
874
|
+
```text
|
|
875
|
+
Current media
|
|
876
|
+
↓
|
|
877
|
+
Playback state
|
|
878
|
+
↓
|
|
879
|
+
Primary controls
|
|
880
|
+
↓
|
|
881
|
+
Progress
|
|
882
|
+
↓
|
|
883
|
+
Secondary controls
|
|
884
|
+
↓
|
|
885
|
+
Queue / related content
|
|
886
|
+
```
|
|
887
|
+
|
|
888
|
+
Frequent playback actions should remain easy to reach.
|
|
889
|
+
|
|
890
|
+
Do not bury play/pause or seek behind menus.
|
|
891
|
+
|
|
892
|
+
---
|
|
893
|
+
|
|
894
|
+
# 33. EDITING APPLICATIONS
|
|
895
|
+
|
|
896
|
+
Editing applications should prioritize:
|
|
897
|
+
|
|
898
|
+
* content
|
|
899
|
+
* current editing state
|
|
900
|
+
* immediate actions
|
|
901
|
+
* undo/redo
|
|
902
|
+
* keyboard behavior
|
|
903
|
+
* preservation of work
|
|
904
|
+
|
|
905
|
+
Never let decorative UI consume the majority of the editing surface.
|
|
906
|
+
|
|
907
|
+
---
|
|
908
|
+
|
|
909
|
+
# 34. KEYBOARD INTERACTION
|
|
910
|
+
|
|
911
|
+
The software keyboard changes the available screen.
|
|
912
|
+
|
|
913
|
+
When the keyboard appears:
|
|
914
|
+
|
|
915
|
+
* preserve the active field
|
|
916
|
+
* keep important actions reachable
|
|
917
|
+
* avoid unexpected content jumps
|
|
918
|
+
* scroll the focused field into view
|
|
919
|
+
* respect keyboard-safe regions
|
|
920
|
+
|
|
921
|
+
## Agent rule
|
|
922
|
+
|
|
923
|
+
Always test forms with:
|
|
924
|
+
|
|
925
|
+
* short text
|
|
926
|
+
* long text
|
|
927
|
+
* multiline text
|
|
928
|
+
* keyboard visible
|
|
929
|
+
* keyboard dismissed
|
|
930
|
+
* validation errors
|
|
931
|
+
|
|
932
|
+
---
|
|
933
|
+
|
|
934
|
+
# 35. TEXT INPUT
|
|
935
|
+
|
|
936
|
+
Text fields should communicate:
|
|
937
|
+
|
|
938
|
+
* purpose
|
|
939
|
+
* current value
|
|
940
|
+
* validation state
|
|
941
|
+
* available input type
|
|
942
|
+
|
|
943
|
+
Use appropriate keyboard types where possible.
|
|
944
|
+
|
|
945
|
+
Examples:
|
|
946
|
+
|
|
947
|
+
```text
|
|
948
|
+
email → email keyboard
|
|
949
|
+
phone → phone keyboard
|
|
950
|
+
number → numeric keyboard
|
|
951
|
+
URL → URL keyboard
|
|
952
|
+
search → search-oriented keyboard
|
|
953
|
+
```
|
|
954
|
+
|
|
955
|
+
Reduce unnecessary typing.
|
|
956
|
+
|
|
957
|
+
---
|
|
958
|
+
|
|
959
|
+
# 36. DYNAMIC TYPE
|
|
960
|
+
|
|
961
|
+
Text must remain usable when users increase system text size.
|
|
962
|
+
|
|
963
|
+
Do not design layouts that only work at the default font size.
|
|
964
|
+
|
|
965
|
+
Test:
|
|
966
|
+
|
|
967
|
+
```text
|
|
968
|
+
default
|
|
969
|
+
large
|
|
970
|
+
extra large
|
|
971
|
+
accessibility sizes
|
|
972
|
+
```
|
|
973
|
+
|
|
974
|
+
## Agent rule
|
|
975
|
+
|
|
976
|
+
If increasing text size causes:
|
|
977
|
+
|
|
978
|
+
* clipping
|
|
979
|
+
* overlap
|
|
980
|
+
* inaccessible controls
|
|
981
|
+
* unreadable labels
|
|
982
|
+
* broken navigation
|
|
983
|
+
|
|
984
|
+
the design is not finished.
|
|
985
|
+
|
|
986
|
+
---
|
|
987
|
+
|
|
988
|
+
# 37. TEXT EXPANSION
|
|
989
|
+
|
|
990
|
+
Never assume labels have fixed lengths.
|
|
991
|
+
|
|
992
|
+
Consider:
|
|
993
|
+
|
|
994
|
+
* accessibility text sizes
|
|
995
|
+
* localization
|
|
996
|
+
* long names
|
|
997
|
+
* usernames
|
|
998
|
+
* file names
|
|
999
|
+
* track titles
|
|
1000
|
+
* translated strings
|
|
1001
|
+
|
|
1002
|
+
Avoid hard-coded widths for text whenever possible.
|
|
1003
|
+
|
|
1004
|
+
---
|
|
1005
|
+
|
|
1006
|
+
# 38. DARK MODE
|
|
1007
|
+
|
|
1008
|
+
Dark Mode should be a designed state.
|
|
1009
|
+
|
|
1010
|
+
Consider:
|
|
1011
|
+
|
|
1012
|
+
* semantic colors
|
|
1013
|
+
* contrast
|
|
1014
|
+
* surface hierarchy
|
|
1015
|
+
* imagery
|
|
1016
|
+
* translucency
|
|
1017
|
+
* separators
|
|
1018
|
+
* shadows
|
|
1019
|
+
* system appearance
|
|
1020
|
+
|
|
1021
|
+
Do not simply invert the light theme.
|
|
1022
|
+
|
|
1023
|
+
---
|
|
1024
|
+
|
|
1025
|
+
# 39. SYSTEM APPEARANCE
|
|
1026
|
+
|
|
1027
|
+
Applications should respect system appearance where appropriate.
|
|
1028
|
+
|
|
1029
|
+
The user may expect:
|
|
1030
|
+
|
|
1031
|
+
```text
|
|
1032
|
+
Light
|
|
1033
|
+
Dark
|
|
1034
|
+
System
|
|
1035
|
+
```
|
|
1036
|
+
|
|
1037
|
+
Do not override system appearance without a strong product reason.
|
|
1038
|
+
|
|
1039
|
+
If an application provides a custom theme system, preserve usability and
|
|
1040
|
+
accessibility across all themes.
|
|
1041
|
+
|
|
1042
|
+
---
|
|
1043
|
+
|
|
1044
|
+
# 40. HAPTICS
|
|
1045
|
+
|
|
1046
|
+
Haptics can reinforce meaningful interaction.
|
|
1047
|
+
|
|
1048
|
+
Appropriate uses include:
|
|
1049
|
+
|
|
1050
|
+
* selection
|
|
1051
|
+
* confirmation
|
|
1052
|
+
* meaningful state changes
|
|
1053
|
+
* physical-feeling interactions
|
|
1054
|
+
|
|
1055
|
+
Do not use haptics continuously.
|
|
1056
|
+
|
|
1057
|
+
## Rule
|
|
1058
|
+
|
|
1059
|
+
Haptics should reinforce meaning, not demand attention.
|
|
1060
|
+
|
|
1061
|
+
---
|
|
1062
|
+
|
|
1063
|
+
# 41. SOUND
|
|
1064
|
+
|
|
1065
|
+
Sound can communicate state but should be used carefully.
|
|
1066
|
+
|
|
1067
|
+
Consider:
|
|
1068
|
+
|
|
1069
|
+
* user expectations
|
|
1070
|
+
* system volume
|
|
1071
|
+
* silent mode
|
|
1072
|
+
* accessibility
|
|
1073
|
+
* interruption
|
|
1074
|
+
|
|
1075
|
+
Never rely exclusively on sound to communicate critical information.
|
|
1076
|
+
|
|
1077
|
+
---
|
|
1078
|
+
|
|
1079
|
+
# 42. SYSTEM INTEGRATION
|
|
1080
|
+
|
|
1081
|
+
Native integration can improve the experience.
|
|
1082
|
+
|
|
1083
|
+
Depending on the product, consider:
|
|
1084
|
+
|
|
1085
|
+
* notifications
|
|
1086
|
+
* share sheet
|
|
1087
|
+
* widgets
|
|
1088
|
+
* Siri/Shortcuts
|
|
1089
|
+
* system media controls
|
|
1090
|
+
* document picker
|
|
1091
|
+
* photo picker
|
|
1092
|
+
* biometric authentication
|
|
1093
|
+
* haptics
|
|
1094
|
+
* system settings
|
|
1095
|
+
* background capabilities
|
|
1096
|
+
|
|
1097
|
+
## Agent rule
|
|
1098
|
+
|
|
1099
|
+
If the operating system already provides a familiar mechanism for a task,
|
|
1100
|
+
consider using it rather than rebuilding an inferior imitation.
|
|
1101
|
+
|
|
1102
|
+
---
|
|
1103
|
+
|
|
1104
|
+
# 43. PERMISSIONS
|
|
1105
|
+
|
|
1106
|
+
Permission requests should be contextual.
|
|
1107
|
+
|
|
1108
|
+
Examples:
|
|
1109
|
+
|
|
1110
|
+
```text
|
|
1111
|
+
Photos
|
|
1112
|
+
Microphone
|
|
1113
|
+
Camera
|
|
1114
|
+
Location
|
|
1115
|
+
Notifications
|
|
1116
|
+
Contacts
|
|
1117
|
+
Bluetooth
|
|
1118
|
+
Files
|
|
1119
|
+
```
|
|
1120
|
+
|
|
1121
|
+
Before requesting access, understand:
|
|
1122
|
+
|
|
1123
|
+
* why the feature needs it
|
|
1124
|
+
* whether access is required immediately
|
|
1125
|
+
* what happens if permission is denied
|
|
1126
|
+
* whether an alternative exists
|
|
1127
|
+
|
|
1128
|
+
---
|
|
1129
|
+
|
|
1130
|
+
# 44. OFFLINE AND CONNECTIVITY
|
|
1131
|
+
|
|
1132
|
+
Mobile applications frequently operate under unstable connectivity.
|
|
1133
|
+
|
|
1134
|
+
Design for:
|
|
1135
|
+
|
|
1136
|
+
```text
|
|
1137
|
+
online
|
|
1138
|
+
slow
|
|
1139
|
+
offline
|
|
1140
|
+
reconnecting
|
|
1141
|
+
partial data
|
|
1142
|
+
request failed
|
|
1143
|
+
```
|
|
1144
|
+
|
|
1145
|
+
Do not assume a perfect network.
|
|
1146
|
+
|
|
1147
|
+
Where appropriate:
|
|
1148
|
+
|
|
1149
|
+
* preserve cached content
|
|
1150
|
+
* preserve user input
|
|
1151
|
+
* provide retry
|
|
1152
|
+
* communicate stale data
|
|
1153
|
+
* avoid destructive assumptions
|
|
1154
|
+
|
|
1155
|
+
---
|
|
1156
|
+
|
|
1157
|
+
# 45. LOADING EXPERIENCE
|
|
1158
|
+
|
|
1159
|
+
Avoid making users stare at a blank screen.
|
|
1160
|
+
|
|
1161
|
+
Prefer:
|
|
1162
|
+
|
|
1163
|
+
```text
|
|
1164
|
+
existing content
|
|
1165
|
+
↓
|
|
1166
|
+
incremental update
|
|
1167
|
+
```
|
|
1168
|
+
|
|
1169
|
+
where possible.
|
|
1170
|
+
|
|
1171
|
+
If content cannot be shown immediately:
|
|
1172
|
+
|
|
1173
|
+
```text
|
|
1174
|
+
stable structure
|
|
1175
|
+
↓
|
|
1176
|
+
loading state
|
|
1177
|
+
↓
|
|
1178
|
+
content
|
|
1179
|
+
```
|
|
1180
|
+
|
|
1181
|
+
Avoid excessive full-screen spinners.
|
|
1182
|
+
|
|
1183
|
+
---
|
|
1184
|
+
|
|
1185
|
+
# 46. ERROR RECOVERY
|
|
1186
|
+
|
|
1187
|
+
A good mobile application should tell the user what to do next.
|
|
1188
|
+
|
|
1189
|
+
Preferred structure:
|
|
1190
|
+
|
|
1191
|
+
```text
|
|
1192
|
+
Problem
|
|
1193
|
+
↓
|
|
1194
|
+
Impact
|
|
1195
|
+
↓
|
|
1196
|
+
Recovery
|
|
1197
|
+
```
|
|
1198
|
+
|
|
1199
|
+
Example:
|
|
1200
|
+
|
|
1201
|
+
```text
|
|
1202
|
+
Couldn't load your playlists.
|
|
1203
|
+
|
|
1204
|
+
Your downloaded music is still available.
|
|
1205
|
+
|
|
1206
|
+
[Try Again]
|
|
1207
|
+
```
|
|
1208
|
+
|
|
1209
|
+
Avoid technical errors unless the target audience needs them.
|
|
1210
|
+
|
|
1211
|
+
---
|
|
1212
|
+
|
|
1213
|
+
# 47. EMPTY STATES
|
|
1214
|
+
|
|
1215
|
+
Empty states should guide the user.
|
|
1216
|
+
|
|
1217
|
+
Examples:
|
|
1218
|
+
|
|
1219
|
+
```text
|
|
1220
|
+
No playlists yet.
|
|
1221
|
+
|
|
1222
|
+
Create a playlist to organize your music.
|
|
1223
|
+
|
|
1224
|
+
[Create Playlist]
|
|
1225
|
+
```
|
|
1226
|
+
|
|
1227
|
+
or:
|
|
1228
|
+
|
|
1229
|
+
```text
|
|
1230
|
+
No saved documents.
|
|
1231
|
+
|
|
1232
|
+
Files you save will appear here.
|
|
1233
|
+
```
|
|
1234
|
+
|
|
1235
|
+
The empty state should not look like a broken application.
|
|
1236
|
+
|
|
1237
|
+
---
|
|
1238
|
+
|
|
1239
|
+
# 48. ONBOARDING
|
|
1240
|
+
|
|
1241
|
+
Do not explain every feature before the user can use the product.
|
|
1242
|
+
|
|
1243
|
+
Prefer contextual education.
|
|
1244
|
+
|
|
1245
|
+
Good onboarding:
|
|
1246
|
+
|
|
1247
|
+
```text
|
|
1248
|
+
Understand the basic purpose
|
|
1249
|
+
↓
|
|
1250
|
+
Perform first meaningful action
|
|
1251
|
+
↓
|
|
1252
|
+
Discover advanced capabilities
|
|
1253
|
+
```
|
|
1254
|
+
|
|
1255
|
+
Avoid:
|
|
1256
|
+
|
|
1257
|
+
```text
|
|
1258
|
+
10-screen tutorial
|
|
1259
|
+
↓
|
|
1260
|
+
Permissions
|
|
1261
|
+
↓
|
|
1262
|
+
Configuration
|
|
1263
|
+
↓
|
|
1264
|
+
Finally use app
|
|
1265
|
+
```
|
|
1266
|
+
|
|
1267
|
+
---
|
|
1268
|
+
|
|
1269
|
+
# 49. FIRST-RUN VS RETURNING USER
|
|
1270
|
+
|
|
1271
|
+
The first session and later sessions have different needs.
|
|
1272
|
+
|
|
1273
|
+
First run may require:
|
|
1274
|
+
|
|
1275
|
+
* orientation
|
|
1276
|
+
* permissions
|
|
1277
|
+
* setup
|
|
1278
|
+
|
|
1279
|
+
Returning users need:
|
|
1280
|
+
|
|
1281
|
+
* speed
|
|
1282
|
+
* continuity
|
|
1283
|
+
* preserved state
|
|
1284
|
+
* immediate access to their task
|
|
1285
|
+
|
|
1286
|
+
Do not repeatedly show onboarding information to experienced users.
|
|
1287
|
+
|
|
1288
|
+
---
|
|
1289
|
+
|
|
1290
|
+
# 50. VISUAL IDENTITY
|
|
1291
|
+
|
|
1292
|
+
An iOS application can have a strong visual identity.
|
|
1293
|
+
|
|
1294
|
+
Use:
|
|
1295
|
+
|
|
1296
|
+
* custom typography where appropriate
|
|
1297
|
+
* brand color
|
|
1298
|
+
* imagery
|
|
1299
|
+
* iconography
|
|
1300
|
+
* materials
|
|
1301
|
+
* motion
|
|
1302
|
+
* custom illustrations
|
|
1303
|
+
|
|
1304
|
+
while preserving:
|
|
1305
|
+
|
|
1306
|
+
* usability
|
|
1307
|
+
* hierarchy
|
|
1308
|
+
* accessibility
|
|
1309
|
+
* platform familiarity
|
|
1310
|
+
|
|
1311
|
+
## Rule
|
|
1312
|
+
|
|
1313
|
+
Branding should modify the expression of the interface.
|
|
1314
|
+
|
|
1315
|
+
It should not destroy its usability.
|
|
1316
|
+
|
|
1317
|
+
---
|
|
1318
|
+
|
|
1319
|
+
# 51. AVOID "IOS COSPLAY"
|
|
1320
|
+
|
|
1321
|
+
Do not blindly copy:
|
|
1322
|
+
|
|
1323
|
+
* Apple's exact screens
|
|
1324
|
+
* Apple Music
|
|
1325
|
+
* Settings
|
|
1326
|
+
* Control Center
|
|
1327
|
+
* system apps
|
|
1328
|
+
* proprietary visual compositions
|
|
1329
|
+
|
|
1330
|
+
Instead extract:
|
|
1331
|
+
|
|
1332
|
+
```text
|
|
1333
|
+
principle
|
|
1334
|
+
↓
|
|
1335
|
+
pattern
|
|
1336
|
+
↓
|
|
1337
|
+
product-specific implementation
|
|
1338
|
+
```
|
|
1339
|
+
|
|
1340
|
+
Example:
|
|
1341
|
+
|
|
1342
|
+
Apple principle:
|
|
1343
|
+
|
|
1344
|
+
> Contextual actions should be accessible without overwhelming the primary
|
|
1345
|
+
> interface.
|
|
1346
|
+
|
|
1347
|
+
Your product:
|
|
1348
|
+
|
|
1349
|
+
> Place advanced media operations inside a contextual action sheet.
|
|
1350
|
+
|
|
1351
|
+
That is legitimate design adaptation.
|
|
1352
|
+
|
|
1353
|
+
---
|
|
1354
|
+
|
|
1355
|
+
# 52. REACT NATIVE TRANSLATION
|
|
1356
|
+
|
|
1357
|
+
When implementing iOS behavior in React Native:
|
|
1358
|
+
|
|
1359
|
+
Prefer:
|
|
1360
|
+
|
|
1361
|
+
```text
|
|
1362
|
+
shared intent
|
|
1363
|
+
↓
|
|
1364
|
+
platform-aware component
|
|
1365
|
+
↓
|
|
1366
|
+
iOS implementation
|
|
1367
|
+
↓
|
|
1368
|
+
Android implementation
|
|
1369
|
+
```
|
|
1370
|
+
|
|
1371
|
+
rather than:
|
|
1372
|
+
|
|
1373
|
+
```text
|
|
1374
|
+
one generic component
|
|
1375
|
+
↓
|
|
1376
|
+
force same behavior everywhere
|
|
1377
|
+
```
|
|
1378
|
+
|
|
1379
|
+
Use platform detection only when the behavioral difference is meaningful.
|
|
1380
|
+
|
|
1381
|
+
Do not create unnecessary platform branches.
|
|
1382
|
+
|
|
1383
|
+
---
|
|
1384
|
+
|
|
1385
|
+
# 53. EXPO TRANSLATION
|
|
1386
|
+
|
|
1387
|
+
For Expo applications, evaluate whether platform-native capabilities are
|
|
1388
|
+
already available.
|
|
1389
|
+
|
|
1390
|
+
Potential areas include:
|
|
1391
|
+
|
|
1392
|
+
* native UI
|
|
1393
|
+
* system permissions
|
|
1394
|
+
* haptics
|
|
1395
|
+
* notifications
|
|
1396
|
+
* media
|
|
1397
|
+
* file access
|
|
1398
|
+
* system sharing
|
|
1399
|
+
* document selection
|
|
1400
|
+
* device capabilities
|
|
1401
|
+
|
|
1402
|
+
Use the Expo documentation as the implementation authority.
|
|
1403
|
+
|
|
1404
|
+
Do not invent APIs.
|
|
1405
|
+
|
|
1406
|
+
---
|
|
1407
|
+
|
|
1408
|
+
# 54. COMPONENT DECISION TREE
|
|
1409
|
+
|
|
1410
|
+
When creating a component, ask:
|
|
1411
|
+
|
|
1412
|
+
```text
|
|
1413
|
+
Is this a common platform interaction?
|
|
1414
|
+
│
|
|
1415
|
+
YES
|
|
1416
|
+
↓
|
|
1417
|
+
Can a native/platform component solve it?
|
|
1418
|
+
│
|
|
1419
|
+
┌───┴───┐
|
|
1420
|
+
YES NO
|
|
1421
|
+
↓ ↓
|
|
1422
|
+
Use/adapt Create
|
|
1423
|
+
platform custom
|
|
1424
|
+
pattern component
|
|
1425
|
+
```
|
|
1426
|
+
|
|
1427
|
+
Then ask:
|
|
1428
|
+
|
|
1429
|
+
```text
|
|
1430
|
+
Does the component need different iOS and Android behavior?
|
|
1431
|
+
│
|
|
1432
|
+
┌───┴───┐
|
|
1433
|
+
YES NO
|
|
1434
|
+
↓ ↓
|
|
1435
|
+
Adapt Share
|
|
1436
|
+
behavior implementation
|
|
1437
|
+
```
|
|
1438
|
+
|
|
1439
|
+
---
|
|
1440
|
+
|
|
1441
|
+
# 55. IOS SCREEN REVIEW
|
|
1442
|
+
|
|
1443
|
+
Every iOS screen should be reviewed for:
|
|
1444
|
+
|
|
1445
|
+
## Purpose
|
|
1446
|
+
|
|
1447
|
+
* Is the primary task obvious?
|
|
1448
|
+
|
|
1449
|
+
## Touch
|
|
1450
|
+
|
|
1451
|
+
* Are controls comfortable?
|
|
1452
|
+
* Are hit targets sufficiently large?
|
|
1453
|
+
|
|
1454
|
+
## Reachability
|
|
1455
|
+
|
|
1456
|
+
* Are frequent controls reasonably reachable?
|
|
1457
|
+
|
|
1458
|
+
## Safe areas
|
|
1459
|
+
|
|
1460
|
+
* Can system UI obscure important content?
|
|
1461
|
+
|
|
1462
|
+
## Navigation
|
|
1463
|
+
|
|
1464
|
+
* Is the hierarchy understandable?
|
|
1465
|
+
* Is Back behavior predictable?
|
|
1466
|
+
|
|
1467
|
+
## Typography
|
|
1468
|
+
|
|
1469
|
+
* Does the layout survive Dynamic Type?
|
|
1470
|
+
|
|
1471
|
+
## Appearance
|
|
1472
|
+
|
|
1473
|
+
* Does Light/Dark Mode remain coherent?
|
|
1474
|
+
|
|
1475
|
+
## Accessibility
|
|
1476
|
+
|
|
1477
|
+
* Can VoiceOver users understand the screen?
|
|
1478
|
+
|
|
1479
|
+
## States
|
|
1480
|
+
|
|
1481
|
+
* Are loading, empty, error, and offline cases handled?
|
|
1482
|
+
|
|
1483
|
+
## Interaction
|
|
1484
|
+
|
|
1485
|
+
* Are gestures discoverable?
|
|
1486
|
+
* Are controls responsive?
|
|
1487
|
+
|
|
1488
|
+
## Platform fit
|
|
1489
|
+
|
|
1490
|
+
* Would an iOS user find the behavior familiar?
|
|
1491
|
+
|
|
1492
|
+
---
|
|
1493
|
+
|
|
1494
|
+
# 56. IOS ANTI-PATTERNS
|
|
1495
|
+
|
|
1496
|
+
## Tiny controls
|
|
1497
|
+
|
|
1498
|
+
Small icons with tiny hit targets.
|
|
1499
|
+
|
|
1500
|
+
## Edge collisions
|
|
1501
|
+
|
|
1502
|
+
Controls positioned too close to system regions.
|
|
1503
|
+
|
|
1504
|
+
## Fake navigation
|
|
1505
|
+
|
|
1506
|
+
Custom navigation that behaves differently from expected platform behavior
|
|
1507
|
+
without justification.
|
|
1508
|
+
|
|
1509
|
+
## Desktop shrinking
|
|
1510
|
+
|
|
1511
|
+
A desktop layout compressed into a phone.
|
|
1512
|
+
|
|
1513
|
+
## Tablet stretching
|
|
1514
|
+
|
|
1515
|
+
An iPhone interface simply enlarged for iPad.
|
|
1516
|
+
|
|
1517
|
+
## Modal everything
|
|
1518
|
+
|
|
1519
|
+
Every secondary action opens a modal.
|
|
1520
|
+
|
|
1521
|
+
## Hidden essentials
|
|
1522
|
+
|
|
1523
|
+
Important actions exist only behind gestures.
|
|
1524
|
+
|
|
1525
|
+
## Fixed typography
|
|
1526
|
+
|
|
1527
|
+
Layouts break at larger text sizes.
|
|
1528
|
+
|
|
1529
|
+
## Dark-mode inversion
|
|
1530
|
+
|
|
1531
|
+
Colors are mechanically inverted.
|
|
1532
|
+
|
|
1533
|
+
## Platform blindness
|
|
1534
|
+
|
|
1535
|
+
Identical interaction is forced onto iOS and Android despite meaningful
|
|
1536
|
+
platform differences.
|
|
1537
|
+
|
|
1538
|
+
---
|
|
1539
|
+
|
|
1540
|
+
# 57. AGENT EXECUTION MODEL
|
|
1541
|
+
|
|
1542
|
+
When designing an iOS screen:
|
|
1543
|
+
|
|
1544
|
+
```text
|
|
1545
|
+
1. Identify the task.
|
|
1546
|
+
↓
|
|
1547
|
+
2. Identify the platform context.
|
|
1548
|
+
↓
|
|
1549
|
+
3. Define hierarchy.
|
|
1550
|
+
↓
|
|
1551
|
+
4. Select familiar iOS patterns.
|
|
1552
|
+
↓
|
|
1553
|
+
5. Define touch targets.
|
|
1554
|
+
↓
|
|
1555
|
+
6. Respect safe areas.
|
|
1556
|
+
↓
|
|
1557
|
+
7. Design responsive behavior.
|
|
1558
|
+
↓
|
|
1559
|
+
8. Design accessibility.
|
|
1560
|
+
↓
|
|
1561
|
+
9. Design states.
|
|
1562
|
+
↓
|
|
1563
|
+
10. Design motion.
|
|
1564
|
+
↓
|
|
1565
|
+
11. Add product identity.
|
|
1566
|
+
↓
|
|
1567
|
+
12. Implement.
|
|
1568
|
+
↓
|
|
1569
|
+
13. Test iOS-specific behavior.
|
|
1570
|
+
↓
|
|
1571
|
+
14. Audit.
|
|
1572
|
+
↓
|
|
1573
|
+
15. Refine.
|
|
1574
|
+
```
|
|
1575
|
+
|
|
1576
|
+
---
|
|
1577
|
+
|
|
1578
|
+
# 58. FINAL DESIGN TEST
|
|
1579
|
+
|
|
1580
|
+
Before approving an iOS interface, ask:
|
|
1581
|
+
|
|
1582
|
+
> If the branding disappeared, would the interaction still feel natural?
|
|
1583
|
+
|
|
1584
|
+
If no:
|
|
1585
|
+
|
|
1586
|
+
Investigate the interaction model.
|
|
1587
|
+
|
|
1588
|
+
Then ask:
|
|
1589
|
+
|
|
1590
|
+
> If the interface were visually simplified by 30%, would the task become
|
|
1591
|
+
> clearer or harder?
|
|
1592
|
+
|
|
1593
|
+
If clearer:
|
|
1594
|
+
|
|
1595
|
+
Remove unnecessary visual complexity.
|
|
1596
|
+
|
|
1597
|
+
Then ask:
|
|
1598
|
+
|
|
1599
|
+
> If the user increased text size significantly, would the interface remain
|
|
1600
|
+
> usable?
|
|
1601
|
+
|
|
1602
|
+
If no:
|
|
1603
|
+
|
|
1604
|
+
Fix the layout.
|
|
1605
|
+
|
|
1606
|
+
Then ask:
|
|
1607
|
+
|
|
1608
|
+
> If the user had never seen this application before, could they predict
|
|
1609
|
+
> what the major controls do?
|
|
1610
|
+
|
|
1611
|
+
If no:
|
|
1612
|
+
|
|
1613
|
+
Improve familiarity and labeling.
|
|
1614
|
+
|
|
1615
|
+
Then ask:
|
|
1616
|
+
|
|
1617
|
+
> Does this screen feel native without looking like an Apple clone?
|
|
1618
|
+
|
|
1619
|
+
If yes:
|
|
1620
|
+
|
|
1621
|
+
The platform adaptation is probably on the right track.
|
|
1622
|
+
|
|
1623
|
+
---
|
|
1624
|
+
|
|
1625
|
+
# 59. QUICK REFERENCE
|
|
1626
|
+
|
|
1627
|
+
```text
|
|
1628
|
+
DESIGN FOR THE TASK
|
|
1629
|
+
↓
|
|
1630
|
+
PRIORITIZE CONTENT
|
|
1631
|
+
↓
|
|
1632
|
+
RESPECT TOUCH
|
|
1633
|
+
↓
|
|
1634
|
+
RESPECT SAFE AREAS
|
|
1635
|
+
↓
|
|
1636
|
+
PRESERVE NAVIGATION CONTEXT
|
|
1637
|
+
↓
|
|
1638
|
+
ADAPT TO SCREEN SIZE
|
|
1639
|
+
↓
|
|
1640
|
+
SUPPORT DYNAMIC TYPE
|
|
1641
|
+
↓
|
|
1642
|
+
SUPPORT DARK MODE
|
|
1643
|
+
↓
|
|
1644
|
+
DESIGN ACCESSIBILITY
|
|
1645
|
+
↓
|
|
1646
|
+
USE NATIVE PATTERNS
|
|
1647
|
+
↓
|
|
1648
|
+
PRESERVE PRODUCT IDENTITY
|
|
1649
|
+
↓
|
|
1650
|
+
AUDIT REAL-WORLD STATES
|
|
1651
|
+
```
|
|
1652
|
+
|
|
1653
|
+
---
|
|
1654
|
+
|
|
1655
|
+
# 60. SOURCE
|
|
1656
|
+
|
|
1657
|
+
Apple Developer Documentation — Human Interface Guidelines:
|
|
1658
|
+
|
|
1659
|
+
[https://developer.apple.com/design/human-interface-guidelines/](https://developer.apple.com/design/human-interface-guidelines/)
|
|
1660
|
+
|
|
1661
|
+
Apple Developer Documentation — Designing for iOS:
|
|
1662
|
+
|
|
1663
|
+
[https://developer.apple.com/design/human-interface-guidelines/designing-for-ios](https://developer.apple.com/design/human-interface-guidelines/designing-for-ios)
|
|
1664
|
+
|
|
1665
|
+
Apple Developer Documentation — Layout:
|
|
1666
|
+
|
|
1667
|
+
[https://developer.apple.com/design/human-interface-guidelines/layout](https://developer.apple.com/design/human-interface-guidelines/layout)
|
|
1668
|
+
|
|
1669
|
+
Apple Developer Documentation — Accessibility:
|
|
1670
|
+
|
|
1671
|
+
[https://developer.apple.com/design/human-interface-guidelines/accessibility](https://developer.apple.com/design/human-interface-guidelines/accessibility)
|
|
1672
|
+
|
|
1673
|
+
Apple Developer Documentation — Navigation and Search:
|
|
1674
|
+
|
|
1675
|
+
[https://developer.apple.com/design/human-interface-guidelines/navigation-and-search](https://developer.apple.com/design/human-interface-guidelines/navigation-and-search)
|
|
1676
|
+
|
|
1677
|
+
````
|
|
1678
|
+
|
|
1679
|
+
Apple's current iOS guidance is the authority for the platform-specific details here; the public page itself is JS-rendered in the current documentation interface, so this module intentionally treats Apple's official HIG as the source rather than pretending a static scrape is exhaustive. :contentReference[oaicite:0]{index=0}
|
|
1680
|
+
|