Simulator
Incorrect/Unexpected Behavior
No
1 May 2024 at 21:14
iOS or iPadOS device
- Run the given code.
- Use canvas / Xcode previews / SwiftUI previews.
- See orientation is unknown.
- In some cases, the orientation may not be reported as unknown. However, after a canvas refresh, it can become unknown again. When switching to one of the landscape orientations, sometimes it may be the correct orientation, and then become unknown when the canvas is refreshed again.
Demo | Workaround |
---|---|
![]() |
Unknown |
AppleFeedback/FB13769795/demo.swift
Lines 1 to 15 in 095f11f