UIView+Screenshot.h 284 B

1234567891011121314
  1. //
  2. // UIView+Screenshot.h
  3. // WildFireChat
  4. //
  5. // Created by heavyrain lee on 02/01/2018.
  6. // Copyright © 2018 WildFireChat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface UIView (Screenshot)
  10. - (UIImage *)screenshot;
  11. - (UIImage *)screenshotWithRect:(CGRect)rect;
  12. @end