财神随手记账

ZLDropDownView.m 746B

123456789101112131415161718192021222324252627282930
  1. //
  2. // ZLDropDownView.m
  3. // ZLDropDownView
  4. //
  5. // Created by iMobie on 18/1/30.
  6. // Copyright © 2018年 TsinHzl. All rights reserved.
  7. //
  8. #import "ZLDropDownView.h"
  9. #import "ZLDropDownViewController.h"
  10. #define ZLScreenBounds [UIScreen mainScreen].bounds
  11. #define ZLScreenSize [UIScreen mainScreen].bounds.size
  12. #define ZLScreenWidth [UIScreen mainScreen].bounds.size.width
  13. #define ZLScreenHeight [UIScreen mainScreen].bounds.size.height
  14. static UIWindow *_window = nil;
  15. @implementation ZLDropDownView
  16. + (void)setup {
  17. _window = [[UIWindow alloc] initWithFrame:ZLScreenBounds];
  18. _window.windowLevel = UIWindowLevelNormal;
  19. _window.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.25];
  20. _window.hidden = NO;
  21. }
  22. @end