| name | ios-design-review |
| description | Review iOS code for Apple HIG compliance. Use when validating SwiftUI/UIKit code, checking accessibility, or auditing iOS design implementation. |
| version | 1.0.0 |
iOS Design Review
Validate SwiftUI/UIKit code against Apple Human Interface Guidelines.
When to Use
- After generating SwiftUI components
- Before submitting iOS code for review
- Auditing existing iOS UI code
- Checking accessibility compliance
Review Checklist
1. Colors & Theming
2. Typography
3. Touch Targets
4. Accessibility
5. Navigation
6. SF Symbols
7. Layout
Review Output Format
## HIG Compliance Review
**File:** `Views/SettingsView.swift`
### Issues Found
#### Critical
- Line 45: Touch target too small (32×32pt)
Fix: Add `.frame(minWidth: 44, minHeight: 44)`
#### Warnings
- Line 23: Hardcoded color `Color(hex: "#FF5733")`
Fix: Use `Color.accentColor` or semantic color
#### Suggestions
- Line 67: Consider adding accessibilityLabel to icon button
### Summary
- Critical: 1
- Warnings: 1
- Suggestions: 1
- Overall: Needs fixes before shipping
Common Issues
Color Issues
Text("Hello").foregroundColor(Color(hex: "#333333"))
Text("Hello").foregroundStyle(.primary)
Touch Target Issues
Button { } label: {
Image(systemName: "plus")
}
Button { } label: {
Image(systemName: "plus")
.frame(minWidth: 44, minHeight: 44)
}
Accessibility Issues
Button { delete() } label: {
Image(systemName: "trash")
}
Button { delete() } label: {
Image(systemName: "trash")
}
.accessibilityLabel("Delete item")
Usage
User: Review this SwiftUI view for HIG compliance
[pastes code]
Claude: [Runs checklist against code]
- Identifies issues by category
- Provides specific line numbers
- Suggests fixes with code examples
Related Skills
ios-swiftui-generator — Generate compliant code
ios-hig-reference — Full HIG reference