LKS_MultiplatformAdapter.h 462 B

123456789101112131415161718192021222324252627282930
  1. #ifdef SHOULD_COMPILE_LOOKIN_SERVER
  2. //
  3. // LKS_MultiplatformAdapter.h
  4. //
  5. //
  6. // Created by nixjiang on 2024/3/12.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface LKS_MultiplatformAdapter : NSObject
  12. + (UIWindow *)keyWindow;
  13. + (NSArray<UIWindow *> *)allWindows;
  14. + (CGRect)mainScreenBounds;
  15. + (CGFloat)mainScreenScale;
  16. + (BOOL)isiPad;
  17. @end
  18. NS_ASSUME_NONNULL_END
  19. #endif /* SHOULD_COMPILE_LOOKIN_SERVER */