These are the feedbacks I'm filing to Apple, to document bugs I come across. The aim is that should you come across the same or a similar bug, you can read what I've documented about it. Some feedbacks may also provide workarounds to achieve the intended result.
FB13705098: Sheet background doesn't reach bottom when programmatically changing detent
FB13705157: Sheet background flashes when changing detents
FB13705183: Sheet content doesn't stay centered when programmatically changing detent
FB13705289: Crash when projecting Binding to an unwrapped value
FB13705327: TextField binded value stops changing after field is empty
FB13769795: Xcode canvas device orientation is reported as unknown
Closed, with a comment from Apple:
UIDeviceOrientation.current.deviceOrientation represents the physical device orientation and is not suitable for app layout. You could consider using some of the UIKit APIs for determining orientation, but the ideal solution would be implementing a flexible layout using SwiftUI APIs.
I suggest using UIInterfaceOrientation
instead.
Since this is a list of my feedbacks, please don't add entirely new feedbacks. However, if you have found a workaround not already mentioned, please create an issue with your working code. If the workaround makes use of external packages such as SwiftUIIntrospect, make that clear.