I need to support UIInterfaceOrientationMaskAll on my application.
how can i set UIInterfaceOrientationMaskAll to application:supportedInterfaceOrientationsForWindow: of UE4 IOSAppDelegate
code
- (UIInterfaceOrientationMask)application:(UIApplication )application supportedInterfaceOrientationsForWindow:(UIWindow )window {
return UIInterfaceOrientationMaskAll;
}
ADD Detail description
I did set Landscape Orientation in project settings.
My app crash calling UIImagePickerController
in this case, device logs like this: : *** Terminating app due to uncaught exception ‘UIApplicationInvalidInterfaceOrientation’, reason: ‘Supported orientations has no common orientation with the application, and [PUUIAlbumListViewController shouldAutorotate] is returning YES’
so I need to set UIInterfaceOrientationMaskAll on IOSAppDelegate for resolve this problem.
Can I set UIInterfaceOrientationMaskAll on IOSAppDelegate in UE 4.11.2