New advertisers: 50% off your first month with code FIRSTMONTHSee slots
ehmo avatar

Ios Design Guidelines

Apple Human Interface Guidelines for iPhone rules covering layout, navigation, typography, and Dynamic Type for SwiftUI and UIKit.

skills.sh installs
2.2K
GitHub stars
650
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers layout and navigation rules, with critical-impact guidance on 44pt touch targets, safe areas, thumb-zone placement, and tab bars
  • Includes correct and incorrect SwiftUI and UIKit code examples for each rule, plus Dynamic Type and custom font scaling
  • Enforces no hamburger menus, no overriding the system back swipe, and NavigationStack over the deprecated NavigationView
  • Designed for building, reviewing, or refactoring iPhone interfaces that need HIG compliance and accessibility support

Install

$ npx -y skills add ehmo/platform-design-skills --skill ios-design-guidelines -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

iOS Design Guidelines for iPhone

Comprehensive rules derived from Apple's Human Interface Guidelines. Apply these when building, reviewing, or refactoring any iPhone app interface.


1. Layout & Safe Areas

Impact: CRITICAL

Rule 1.1: Minimum 44pt Touch Targets

All interactive elements must have a minimum tap target of 44x44 points. This includes buttons, links, toggles, and custom controls.

Correct:

Button("Save") { save() }
    .frame(minWidth: 44, minHeight: 44)

Incorrect:

// 20pt icon with no padding — too small to tap reliably
Button(action: save) {
    Image(systemName: "checkmark")
        .font(.system(size: 20))
}
// Missing .frame(minWidth: 44, minHeight: 44)

Rule 1.2: Respect Safe Areas

Never place interactive or essential content under the status bar, Dynamic Island, or home indicator. Use SwiftUI's automatic safe area handling or UIKit's safeAreaLayoutGuide.

Correct:

struct ContentView: View {
    var body: some View {
        VStack {
            Text("Content")
        }
        // SwiftUI respects safe areas by default
    }
}

Details

Repository
github.com/ehmo/platform-design-skills
Categories
Mobile Apps, Design & UI/UX
First seen
Apr 16, 2026

More from ehmo/platform-design-skills

All 8

Similar to Ios Design Guidelines

More Mobile Apps