I am looking for a way to change IOS device orientation when a scene loads.
There are some questions asked in this direction but no concrete answers for v3.
I have 3 scenes, one should be in portrait while other 2 in landscape mode after a button is pressed from main menu scene (in portrait).
Any ideas on how to achieve this and go back and forth between orientations from within scenes?
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation method is doesn't work per scene. For instance you can add orientations for all scenes under it in appDelegate but not in specific scenes. Like Gamelevel 1 play in Portrait mode, Game level 2, play in landscape mode.