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 .