JLChen
2021-05-18 a869383e163a18cdedcf587383c1eca043129754
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
//  UIAlertController+supportedInterfaceOrientations.m
//  LCOpenSDKDemo
//
//  Created by bzy on 04/01/2018.
//  Copyright © 2018 lechange. All rights reserved.
//
 
#import "UIAlertController+supportedInterfaceOrientations.h"
 
@implementation UIAlertController (supportedInterfaceOrientations)
#if __IPHONE_OS_VERSION_MAX_ALLOWED < 90000
- (NSUInteger)supportedInterfaceOrientations{
    return UIInterfaceOrientationMaskPortrait;
}
#else
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
    return UIInterfaceOrientationMaskPortrait;
}
#endif
@end