mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 01:39:20 +00:00
Fix rotation
This commit is contained in:
parent
82ac3204e4
commit
1a242ffdf2
6 changed files with 12 additions and 12 deletions
|
|
@ -428,7 +428,7 @@
|
|||
if ([LinphoneManager runningOnIpad]) {
|
||||
return YES;
|
||||
} else {
|
||||
return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
|
||||
return interfaceOrientation == UIInterfaceOrientationPortrait;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -436,7 +436,7 @@
|
|||
if ([LinphoneManager runningOnIpad]) {
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
} else {
|
||||
return [super supportedInterfaceOrientations];
|
||||
return UIInterfaceOrientationMaskPortrait;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@
|
|||
if ([LinphoneManager runningOnIpad]) {
|
||||
return YES;
|
||||
} else {
|
||||
return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
|
||||
return interfaceOrientation == UIInterfaceOrientationPortrait;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -135,7 +135,7 @@
|
|||
if ([LinphoneManager runningOnIpad]) {
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
} else {
|
||||
return [super supportedInterfaceOrientations];
|
||||
return UIInterfaceOrientationMaskPortrait;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
if ([LinphoneManager runningOnIpad]) {
|
||||
return YES;
|
||||
} else {
|
||||
return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
|
||||
return interfaceOrientation == UIInterfaceOrientationPortrait;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
if ([LinphoneManager runningOnIpad]) {
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
} else {
|
||||
return [super supportedInterfaceOrientations];
|
||||
return UIInterfaceOrientationMaskPortrait;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@
|
|||
if ([LinphoneManager runningOnIpad]) {
|
||||
return YES;
|
||||
} else {
|
||||
return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
|
||||
return interfaceOrientation == UIInterfaceOrientationPortrait;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
if ([LinphoneManager runningOnIpad]) {
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
} else {
|
||||
return [super supportedInterfaceOrientations];
|
||||
return UIInterfaceOrientationMaskPortrait;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@
|
|||
if ([LinphoneManager runningOnIpad]) {
|
||||
return YES;
|
||||
} else {
|
||||
return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
|
||||
return interfaceOrientation == UIInterfaceOrientationPortrait;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
if ([LinphoneManager runningOnIpad]) {
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
} else {
|
||||
return [super supportedInterfaceOrientations];
|
||||
return UIInterfaceOrientationMaskPortrait;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
if ([LinphoneManager runningOnIpad]) {
|
||||
return YES;
|
||||
} else {
|
||||
return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
|
||||
return interfaceOrientation == UIInterfaceOrientationPortrait;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
if ([LinphoneManager runningOnIpad]) {
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
} else {
|
||||
return [super supportedInterfaceOrientations];
|
||||
return UIInterfaceOrientationMaskPortrait;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue