capacitor-ios-resizability
Installation
SKILL.md
Resizable Windows for Capacitor iOS Apps
A Capacitor app is a full-window WKWebView in CAPBridgeViewController. The web view follows its window. The work is to make the web layout respond to width changes, and to remove native code (app, custom code, plugins) that assumes one full-screen window.
When to Use
TRIGGER when:
- Preparing an app for iPad multitasking, Stage Manager, windowed iPad apps, the foldable iPhone, or external displays
- The layout breaks or does not update when the window is resized
- A native overlay from a plugin (scanner, camera preview, custom sheet) is the wrong size or position in split view
- Xcode or App Store Connect warns about
UIRequiresFullScreen, missing iPad orientations, or launch screen requirements - The user asks to remove
UIScreen.main,userInterfaceIdiom,interfaceOrientationor AppDelegate lifecycle use
Do not use:
- CSS
env(safe-area-inset-*)setup and notch padding only:safe-area-handling - Moving AppDelegate to SceneDelegate:
capacitor-uiscene-migration(prerequisite for Xcode 27) - Keyboard overlap:
capacitor-keyboard - Tailwind breakpoints only:
tailwind-capacitor