Device Orientation Bug on iOS 16

I have been using UIDevice.current.orientation to get the current interface orientation in iOS 14,15. Now in iOS 16 Beta 5, it is reporting incorrectly. Always return as portrait. Currently, i am using  windowScene.requestGeometryUpdate(.iOS(interfaceOrientations: .landscapeRight)) for orientation changes.

Hello, did you find a solution for this?

Device Orientation Bug on iOS 16
 
 
Q