UIImage+GrayImage.h 261 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 // // UIWebView+Gray.h // // // #import <UIKit/UIKit.h> #import <objc/runtime.h> NS_ASSUME_NONNULL_BEGIN @interface UIImage (GrayImage) //转化灰度 - (UIImage *)grayImage; +(void)lh_imageSwizzldMethedWith:(BOOL)changeGray; @end NS_ASSUME_NONNULL_END