Force a single viewcontroller in the story board in landscape

133 views Asked by At

My Project have 2 views 1. Mainview controller 2. Settingview Controller . I want my main view controller to support all orientations but the setting view controller should be in landscape mode irrespective of the device orientation. Right now I am facing issues like 1. Even if the scene is in landscape mode the view appears as portrait
2. (BOOL)shouldAutorotate , (NSUInteger)supportedInterfaceOrientations not getting fired.

Any help is appreciated.My story board is as shown in picture.

0

There are 0 answers