Why UIDevice.orientation works on my side while it should be deprecated in iOS 16?

Hello,

I’ve been doing some research about iOS 16 & found in Apple Documentation that UIDevice.orientation isn’t supported anymore in iOS 16. (Video: 23:14)

My app, however, on the simulator works well with it. Does it mean it will work properly in real devices with iOS 16?

I even switched the target iOS to 16 & still works well.

I checked documentation again and seems UIDevice.orientation isn’t even deprecated 

I also checked this thread, and it seems it’s not working on his side (but works on mine 😅)

Thanks!

Deprecated does not mean it does not work. But that we should avoid using it as it may be obsoleted in the future.

So how can l resolve this issue to remove ios 16 back to ios 15 because am nolonger using my phone because of dragging