I have a question that I have fixed the check only to landscape in Xcode deployment settings but while running the app , the portrait mode is still showing itself . Help me solving this problem . The other thing is that in your tutorial when you open the Xcode deployment settings only one box of 'upside down ’ was ticked . while in my case all the boxes are unticked , Help me resolve this issue .
So this screen appears as I open the Xcode deployment settings. Now I have ticked only last two boxes , so the app must work only in landscape mode but it is still working in portrait mode .
Any idea what can be the issue ? Also you’d have noticed that initially my “portrait” , “landscape” boxes should be ticked as in your case they were , but in my case all boxes are unchecked . Point is that the device orientation doesn’t change its behaviour at all , even if you tick or untick any of the boxes .
From the simulator Menu, select “Device” and make sure that “Rotate Device Automatically” has a checkmark against it. If it does not then click that option so that it is “set”.