Skip to content

Add adaptive iPhone Duo support - #125

Open
adi6409 wants to merge 2 commits into
hugeBlack:mainfrom
adi6409:iphone-duo-support
Open

adi6409 wants to merge 2 commits into
hugeBlack:mainfrom
adi6409:iphone-duo-support

Conversation

@adi6409

@adi6409 adi6409 commented Oct 28, 2026 •

Copy link
Copy Markdown

Summary

  • replace global screen assumptions with view, trait, and active window-scene geometry
  • resize Metal and OpenGL renderers continuously as the Duo opens, closes, rotates, or folds
  • use iOS 27.1 hinge state and the active division reserved region to place the stream in the upper panel in tabletop posture
  • keep client-resolution mode synchronized with the live viewport and debounce host video reconfiguration while the fold settles
  • preserve full-bleed video while keeping interactive overlays inside container safe areas
  • make the in-session menu scrollable in constrained keyboard layouts
  • handle keyboard frame changes and final post-rotation layout so portrait-to-landscape rotation does not leave a stale partial viewport
  • raise the deployment target to iOS 15 for the Xcode 27.1 toolchain

Testing

  • tested with SideStore-installed Release IPA builds on a physical iPhone Duo
  • exercised inner-display portrait and landscape streaming
  • exercised open, folded/tabletop, and unfolded viewport transitions
  • exercised software keyboard presentation in tabletop posture
  • verified the portrait-to-landscape rotation fix with the keyboard open on the physical device
  • xcodebuild archive succeeds for a generic iOS device with Xcode 27.1
  • packaged IPA integrity verified with unzip -t

@SandiyosDev

Copy link
Copy Markdown
Collaborator

this doesn't build on Xcode 26, can you put the hinge code behind #if compiler like #123
2.0 is also in the works, this may need to be rebased once all code for 2.0 is merged and released

@adi6409

adi6409 commented Oct 29, 2026

Copy link
Copy Markdown
Author

this doesn't build on Xcode 26, can you put the hinge code behind #if compiler like #123

Fixed, lmk how it looks :)

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.

2 participants