added supportedInterfaceOrientations in MVMCoreAlertController
This commit is contained in:
parent
8e586e5f01
commit
6874424dd1
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#import "MVMCoreAlertController.h"
|
#import "MVMCoreAlertController.h"
|
||||||
#import "MVMCoreLoggingHandler.h"
|
#import "MVMCoreLoggingHandler.h"
|
||||||
|
#import "MVMCoreGetterUtility.h"
|
||||||
|
|
||||||
@interface MVMCoreAlertController ()
|
@interface MVMCoreAlertController ()
|
||||||
|
|
||||||
@ -37,4 +38,12 @@
|
|||||||
return [NSString stringWithFormat:@"%@|title=%@|message=%@", [super description],self.title,self.message];
|
return [NSString stringWithFormat:@"%@|title=%@|message=%@", [super description],self.title,self.message];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
|
||||||
|
if ([MVMCoreGetterUtility isOnIPad]) {
|
||||||
|
return UIInterfaceOrientationMaskAll;
|
||||||
|
} else {
|
||||||
|
return UIInterfaceOrientationMaskPortrait;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user