Skip to content

feat: add Smart Auto-Adapt window mode and SDK Shift toggle - #2293

Open
Rengwang wants to merge 1 commit into
PlayCover:developfrom
Rengwang:pr/feat-smart-auto-adapt-and-sdk-shift
Open

Rengwang wants to merge 1 commit into
PlayCover:developfrom
Rengwang:pr/feat-smart-auto-adapt-and-sdk-shift

Conversation

@Rengwang

Copy link
Copy Markdown

Summary

  • Add Smart Auto-Adapt (resolution == 7) option in App Settings -> Graphics while keeping upstream's default resolution setting unchanged.
  • Add AppInfo capability detection helpers (supportsIPad, supportsDuoAdaptive, UIRequiresFullScreenIgnoredStartingWithVersion, UISupportedInterfaceOrientations~iphone, supportsAdaptiveWindowLayout(forceSDKShift:), recommendedAspectRatio, recommendedLogicalResolution) and AppSettings.applySmartAdaptDefaults so graphics settings clearly display whether an app supports free adaptive resizing or falls back to an aspect-preserved logical canvas.
  • Add opt-in SDK Shift (sdkShift, default false) toggle (inspired by beinglida/SDKShift-for-Duo) to unlock fixed-aspect / full-screen-locked iPhone apps for free resizing in Smart Auto-Adapt and Resizable modes.
  • Add English, Simplified Chinese, and Traditional Chinese localization strings.

Companion PlayTools PR: PlayCover/PlayTools#261

Verification

  • Verified modified Swift files with swiftlint lint --strict --quiet.
  • Compiled full PlayCover Release target (PlayCover.app/Contents/MacOS/PlayCover built; only upstream's Sparkle codesign build phase was unconfigured locally due to no Developer ID certificate).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant