ios9: try to fix compilation for ios8 and lower

This commit is contained in:
Gautier Pelloux-Prayer 2015-09-18 14:19:34 +02:00
parent 539090b635
commit 1aa908fef4
2 changed files with 7 additions and 2 deletions

View file

@ -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