Skip to content

Visual issues in Landscape mode when sharing on iOS #72

@acgourley

Description

@acgourley

All tests on Unity 2020.3f15 / Xcode 12.5

Building the example out to an iPhone 6S on iOS 14 we can see the Instagram share has no keyboard:

Screen Shot 2021-09-08 at 2 06 53 PM

Similar for building to an iPad Pro on iOS 14 (external keyboard works, but no on screen keyboard will appear)

Screen Shot 2021-09-08 at 2 08 31 PM

On these devices, sharing images to instagram from the Photos app does bring up the keyboard, so it's likely something about the unity root view controller.

Oddly, in my own unity app when embedding this plugin, things are a bit worse. This is a screenshot of trying to share from the same iPhone 6S:

Screen Shot 2021-09-08 at 1 54 27 PM

I've closely compared the build settings in both projects and I can't figure out why the share window would be smaller and off the screen in my app and not the example project in this repo, but I do wonder if they might have the same root cause.

I'd either be happy to see the landscape share view work as well as it does in Apple Photos or have a strategy for selectively turning on portrait mode when launching this sharing dialog to sidestep the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions