My app hangs on iOS

after the login screen I have a main screen after a certain variable time the buttons no longer respond if I change the orientation the main screen is distorted the landscape setting is not done at all

it looks like that
https://community.thunkable.com/t/device-lock-after-screen-orientation-changing/563290?u=bibbi

it looks like it unlocks when I change the orientation of my device which is an iphone 7 with ios15