Hi…,
how to switch off autorotation of the UINavigationController and MyAppViewController the iosNativeExample?
Thanks
Mike
Hi…,
how to switch off autorotation of the UINavigationController and MyAppViewController the iosNativeExample?
Thanks
Mike
Hi @julapy,
can you help with your iosNativeExample in OF0.8.0. I try to switch off the rotation of ViewController and/or NavigationController, because I just need a portrait resolution/view. I have no clue how to do this. I am stucking here for hours.
Thanks
Michael
hi @MikeFromMoon,
the way i normally do it is by adding the following code to MyAppDelegate.mm
#ifdef __IPHONE_6_0
-(NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window {
return UIInterfaceOrientationMaskPortrait;
}
#endif