- Home
- Skills
- Mobile Development
- iPhone Duo Adaptivity Audit
Works with the AI Agents you already use
iPhone Duo Adaptivity Audit
Find and fix legacy screen, orientation, idiom and lifecycle code that breaks in iOS 27 resizable environments.
$9.99
About this skill
The inner display of iPhone Duo, iPhone Mirroring, iPhone apps on iPad and Split View all resize your app. Code that reads the main screen, the device orientation or the idiom gets wrong values there. This skill finds that code and replaces it with values from the view's own window and traits.
What it does
- Finds legacy screen code:
UIScreen.main, screen bounds and scale,keyWindowandconnectedScenes.first. - Removes layout forks on orientation and idiom: replaces them with size classes and the container size.
- Plans the UIScene migration: the latest SDK requires the UIScene lifecycle, or the app does not launch.
- Checks
UIRequiresFullScreen: from iOS 27, it no longer opts the app out of resizing. - Fixes Face ID assumptions: iPhone Duo has Touch ID, so copy and symbols branch on
LAContext.biometryType.
How it works
- A read-only scanner (
duo_scan.py) lists every match with a rule ID. - The skill reads each match and classifies it: replace, keep with a reason, or ask you.
- If Xcode 27 has its UIKit modernization skill, this skill uses it for bulk UIKit rewrites.
- You approve each change. The skill applies it, builds and scans again.
Works with
SwiftUI and UIKit apps in Xcode. The skill references include before-and-after code for each replacement.
Why use this skill
This is the base for all other iPhone Duo work. A layout that depends on the screen, the orientation or the idiom is wrong on iPhone Duo before any foldable-specific change.
The scanner matches single-line patterns and joined member chains. It does not see macros or generated code, so some matches need a manual search. Bulk UIKit rewrites through Xcode's modernization skill need Xcode 27.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 month ago
Permissions
Terminal: the skill runs its read-only scanner with python3 and calls xcrun to find the SDK path and to export Xcode's own modernization skill into a temporary directory. Read Files: it reads Swift sources, Info.plist and project files. Write Files: it changes code only after you approve each change. No network access. The domains in references/sources.md are citations, not services.