1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| //
| // Copyright © 2016年 dahua. All rights reserved.
| //
|
| #import <UIKit/UIKit.h>
|
| @interface UIDevice (LeChange)
|
| /*!
| * @author peng_kongan, 16-01-14 20:01:00
| *
| * @brief 强制设置屏幕方向
| *
| * @param orientation 将要设置的屏幕方向
| */
| + (void)lc_setOrientation:(UIInterfaceOrientation)orientation;
|
| /**
| * 强制设备旋转到状态栏方向,解决设备方向与状态栏方向不一致的情况
| */
| + (void)lc_setRotateToSatusBarOrientation;
|
| @end
|
|