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

[rotate] supportedInterfaceOrientations default value is .all #315

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

liamxujia
Copy link
Contributor

Rotating the view to landscape would be a problem, and SwiftEntryKit would pop up portrait and rotate to landscape. I looked at the code, and I created EKRootViewController before EKWindow but when called
rootViewController = rootVC
EKRootViewController will be called
supportedInterfaceOrientations
lastAttributes for nil at this time, so this method returns the default value. The .portrait, now I modified to create supportedInterfaceOrientations returned. The default value is .all, namely screen pop-up view for the first time at this time there will be no problem

liam and others added 3 commits August 27, 2020 15:28
@codecov
Copy link

codecov bot commented Oct 26, 2020

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

…erInterfaceStyle of entryWindow value, for view to take effect
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