How to sketch an iOS screen that follows HIG
언제 쓸까: You need a first-pass layout for a new screen and don't want to re-learn HIG from scratch.
흐름
-
Describe the screenSketch a Settings > Notifications screen for iPhone — standard iOS 18 patterns.✓ 복사됨→ Grouped List, right-detail rows, correct section headers — HIG citations inline
-
Produce the SwiftUIGenerate the SwiftUI code using Form/List and system colors.✓ 복사됨→ Idiomatic SwiftUI with .listStyle(.insetGrouped), Toggle, NavigationLink
-
Check dark modeAdapt for dark mode — confirm you're using .primary / .secondary, not hardcoded hex.✓ 복사됨→ Semantic-color confirmation
결과: A screen that feels native on the first preview and won't get rejected in review.
함정
- Custom styling that fights the system — Ask Claude 'what's the standard HIG way?' before any custom styling