UIImage+CNBundleOrGredient.h 384 Bytes
//
//  UIImage+CNBundleOrGredient.h
//  CNLiveCServiceModule
//
//  Created by CNLive on 2021/11/22.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (CNBundleOrGredient)

// 创建一张渐变色图片
+ (UIImage *)gradientImageWithColors:(NSArray *)colors rect:(CGRect)rect;
+(UIImage *)loadCServiceBundle:(NSString *)imageName;

@end

NS_ASSUME_NONNULL_END