Files
peko-ios/YuMi/CustomUI/Adbvertise/XPAdImageTool.h

49 lines
909 B
C
Raw Normal View History

2023-07-14 18:50:55 +08:00
//
// YMAdImageTool.h
// YUMI
//
// Created by YUMI on 2022/10/31.
//
#import <Foundation/Foundation.h>
#import "AdvertiseModel.h"
NS_ASSUME_NONNULL_BEGIN
2023-11-15 17:25:09 +08:00
@interface XPAdImageTool : PIBaseModel
2023-07-14 18:50:55 +08:00
+ (instancetype)shareImageTool;
///是否登录成功im
@property (nonatomic,assign)BOOL isImLogin;
//去除广告信息
- (AdvertiseModel *)getAdInfoFromCacheInMainWith:(NSString *)link;
///保存信息
- (void)saveAdInfo:(AdvertiseModel *)adInfo;
/**
*
*/
- (BOOL)isFileExistWithFilePath:(NSString *)filePath;
/**
* 广
*/
- (void)getAdvertisingImage;
/**
*
*/
- (void)downloadAdImageWithUrl:(NSString *)imageUrl imageName:(NSString *)imageName;
/**
*
*/
- (void)deleteOldImage;
/**
*
*/
- (NSString *)getFilePathWithImageName:(NSString *)imageName;
@end
NS_ASSUME_NONNULL_END