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

can i rotate popup? #5

Closed
Leuconoe opened this issue Oct 1, 2019 · 1 comment
Closed

can i rotate popup? #5

Leuconoe opened this issue Oct 1, 2019 · 1 comment
Labels
question Further information is requested

Comments

@Leuconoe
Copy link

Leuconoe commented Oct 1, 2019

주석 2019-10-01 161546

orientation of my project is landscape.
Can I rotate popup the same as the project setting?

@lupidan
Copy link
Owner

lupidan commented Oct 1, 2019

https://github.com/lupidan/apple-signin-unity/blob/master/AppleAuth/IOS/ObjC/AppleAuthManager.m#L201

The authorization controller requires an ASPresentationAnchor to decide from where to show up.

ASPresentationAnchor is a type alias for UIWindow, so only a UIWindow can be provided to the authorization controller.
We are using the main app's UIWindow.

I have checked the official Apple example, and it seems that the popup can't be rotated there.

Rotation

I don't think Apple supports a rotated popup for landscape.

@lupidan lupidan added the question Further information is requested label Oct 1, 2019
@lupidan lupidan closed this as completed Oct 2, 2019
lupidan pushed a commit that referenced this issue May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants