UIWindow+BUUtilities.h 358 B

123456789101112131415161718192021
  1. //
  2. // UIWindow+BUUtilities.h
  3. // BUFoundation
  4. //
  5. // Created by Rush.D.Xzj on 2020/12/17.
  6. //
  7. #import <UIKit/UIKit.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface UIWindow (BUUtilities)
  10. // 获取当前应用的广义mainWindow
  11. + (nullable UIWindow *)bu_mainWindow;
  12. // 广义mainWindow的大小(兼容iOS7)
  13. + (CGSize)bu_windowSize;
  14. @end
  15. NS_ASSUME_NONNULL_END