ipad-layout-audit

Detect iPad layout regressions from hardcoded iPhone widths and missing size-class adaptations.

13|1|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/cruisediary/apple-app-review-skills --skill ipad-layout-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ipad-layout-audit
Source: https://github.com/cruisediary/apple-app-review-skills/tree/main/skills/layout/ipad-layout-audit
Command: npx skills add https://github.com/cruisediary/apple-app-review-skills --skill ipad-layout-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detects iPad-specific layout regressions caused by hardcoded iPhone widths and missing size-class adaptations, which can cause reviews to fail on iPad devices.

Core Features & Use Cases

  • Hardcoded iPhone widths detection and alerts for iPad viewport issues.
  • Checks for missing UISupportedInterfaceOrientations~ipad in Info.plist and absence of iPad orientation keys.
  • Verifies presence of size-class adaptation via traitCollections and adaptive constraints in UIKit/SwiftUI projects.

Quick Start

Run the iPad Layout Audit on your iOS project to quickly detect iPhone-width constraints that break on iPad and missing size-class adaptations.

Frequently Asked Questions about ipad-layout-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect hardcoded iPhone widths causing iPad layout regressions?

You can detect hardcoded iPhone widths causing iPad layout regressions by scanning your iOS project for fixed frame constraints that break on iPad viewports. The audit flags hardcoded frame widths to prevent layout failures before submission.

Why does my iOS app fail App Store review guidelines 2.1 and 2.4.1 on iPad?

Your app may fail guidelines 2.1 and 2.4.1 due to missing iPad orientation keys in Info.plist or absent horizontalSizeClass adaptations. The audit checks for missing UISupportedInterfaceOrientations~ipad entries and size-class adaptations to satisfy review requirements.

How do I check for missing UISupportedInterfaceOrientations~ipad in my Info.plist?

Check for missing UISupportedInterfaceOrientations~ipad by auditing your Info.plist for absent iPad orientation keys. The skill identifies missing iPad-specific orientation configurations to prevent review failures.

Can I audit size-class adaptation in both UIKit and SwiftUI projects?

Yes, you can audit size-class adaptation in both UIKit and SwiftUI projects. The skill verifies the presence of traitCollections and adaptive constraints to ensure proper horizontalSizeClass handling across universal apps and iPad-targeted builds.

What's the best way to catch iPad layout issues before submitting an iOS app?

The best way to catch iPad layout issues before submission is running an iPad layout audit that checks for hardcoded iPhone widths, missing Info.plist orientation keys, and absent size-class adaptations to satisfy App Store guidelines 2.1 and 2.4.1.

Does the iPad layout audit work for universal apps or only iPad-targeted builds?

The iPad layout audit works for both universal apps and iPad-targeted builds. It applies to iOS projects using UIKit or SwiftUI to identify hardcoded iPhone widths and missing size-class adaptations across any iPad-compatible configuration.