We have added orientation lock in Info.Plist file to force all the application screens to be displayed in Landscape (left & right) orientation. We have also have External Accessary frameworks to communicate with medical devices over bluetooth. In iPadOS 16.1 RC and prior beta versions, initially App screens are displayed in landscape orientation. but after selecting a bluetooth device from External Accessary picker window or cancelling the picker window (External Accessary Frameworks - used for discovering the bluetooth devices), App rotates to portrait and landscape mode, when user rotates the device.
We have replaced deprecated API shouldAutorotate by supportedInterfaceOrientationsForWindow. still observed App displayed in portrait mode and landscape mode. We did not observed this issue in iPadOS 15.7 or earlier.