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

Orientation issues - Autorotation not disabled in iOS 16 #376

Open
sarahjstacey15 opened this issue Oct 13, 2022 · 1 comment
Open

Orientation issues - Autorotation not disabled in iOS 16 #376

sarahjstacey15 opened this issue Oct 13, 2022 · 1 comment

Comments

@sarahjstacey15
Copy link

sarahjstacey15 commented Oct 13, 2022

Describe the bug
When you display an alert, even when disabling autorotation alert is still allowed to rotate. Would be great if it just used the main view controller's supported orientations.

To Reproduce
Steps to reproduce the behavior:

  1. Set attributes to disable rotation2.
    attributes.positionConstraints.rotation.isEnabled = false
  2. display alert
  3. Rotate device
  4. Alert rotates when it shouldn't 5.

Expected behaviour
Alert should not show in landscape mode

Screenshots
If applicable, add screenshots to help explain your problem.
Simulator Screen Shot - iPhone 14 - 2022-10-13 at 12 12 36

iPhone (please complete the following information):

  • Device: Any device
  • iOS Version: iOS 16 +
  • Xcode Version 14.0.1
  • Dependency Manager Version N / A
  • SwiftEntryKit Release # 2.0.0

Additional context
Add any other context about the problem here.

Screenshots / Video Links

@priyadarshan-personatech

Any updates on above issue?

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

No branches or pull requests

2 participants