123456789101112131415161718192021 |
- //
- // UIAlertController+supportedInterfaceOrientations.m
- //
- //
- // Created by lbxia on 16/1/16.
- // Copyright © 2016年 lbxia. 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
|