Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix iOS-app crashing when connecting an external display #168

Commits on Feb 14, 2024

  1. fix: iOS-app crashing when connecting an external display

    External display connection invokes
    scene:willConnectTo:options again with the
    session.role .windowExternalDisplayNonInteractive:
    https://developer.apple.com/documentation/uikit/windows_and_screens/presenting_content_on_a_connected_display
    
    This needs to be explicitly handled or rejected,
    otherwise the app crashes with the error:
    Terminating app due to uncaught exception 'UIViewControllerHierarchyInconsistency',
    reason: 'A view can only be associated with at most one view controller at a time!"
    DanielKuhn committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    b86645a View commit details
    Browse the repository at this point in the history