Re: Lock screen orientation
Orientation update mask is only for limiting the orientation change signals to the ones you are interested in.
There might not be any Qt API right now to force a certain orientation, probably requiring native code.
Might make an interesting upstream contribution :)
Cheers,
_
Re: Lock screen orientation
ok, is than there a way on iOS to access the basic ui-controller like under android?
I found this for iOS:
Code:
@implementation UINavigationController (Rotation_IOS6)
-(BOOL)shouldAutorotate
{
return UIInterfaceOrientationMaskPortrait;
}
-(NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskPortrait;
}
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation
{
return UIInterfaceOrientationPortrait;
}
@end}
but for this I think I have to implement the UINavigationController. Has anyone done this?
best,
patrik