mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
ios9: try to fix compilation for ios8 and lower
This commit is contained in:
parent
539090b635
commit
1aa908fef4
2 changed files with 7 additions and 2 deletions
|
|
@ -226,7 +226,12 @@ static RootViewManager *rootViewManagerInstance = nil;
|
|||
}
|
||||
}
|
||||
|
||||
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
|
||||
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 90000
|
||||
- (UIInterfaceOrientationMask)supportedInterfaceOrientations
|
||||
#else
|
||||
- (NSUInteger)supportedInterfaceOrientations
|
||||
#endif
|
||||
{
|
||||
if ([LinphoneManager runningOnIpad] || [mainViewController currentViewSupportsLandscape])
|
||||
return UIInterfaceOrientationMaskAll;
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 04fede562c4a313d8fd0264a6986718ae222d156
|
||||
Subproject commit 096b71cd7e619c90047ff7a03731ecc24005bd7c
|
||||
Loading…
Add table
Reference in a new issue