JLChen
2021-04-30 a5247b61d585627a1a7b1e1f35f34de9f0af9fba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
//  UIDevice+LeChange.h
//  LCIphone
//
//  Created by dh on 16/1/14.
//  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