Is it possible to automatically flip device orientation?

Hello togehter,

i do have the following question.

If I have my App run in landscape mode and a sheet view get's called, will it be possible to switch automatically from landscape mode in portrait mode and fix this device orientation? Once the sheet view get's dismissed or closed, the original view will come back and the device orientation shall switch back to landscape mode.

Thanks you so much for your help!

Is it possible to automatically flip device orientation?
 
 
Q