mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 04:28:10 +00:00
Fix rotation issue
This commit is contained in:
parent
bd0acbcc4b
commit
d507574ac2
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@
|
|||
}
|
||||
}
|
||||
} else if([rotationPreference isEqualToString:@"portrait"]) {
|
||||
if ([currentViewDescription landscapeMode]) {
|
||||
if ([currentViewDescription portraitMode]) {
|
||||
if (UIDeviceOrientationIsPortrait(deviceOrientation)) {
|
||||
if(deviceOrientation == UIDeviceOrientationUnknown) {
|
||||
return [UIApplication sharedApplication].statusBarOrientation;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue