UIDevice+extension.h 334 B

123456789101112131415161718192021
  1. //
  2. // UIDevice+extension.h
  3. // shiku_im
  4. //
  5. // Created by liujl on 2019/8/18.
  6. //
  7. #import <UIKit/UIKit.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface UIDevice (extension)
  10. /**
  11. * @interfaceOrientation 输入要强制转屏的方向
  12. */
  13. + (void)switchNewOrientation:(UIInterfaceOrientation)interfaceOrientation;
  14. @end
  15. NS_ASSUME_NONNULL_END