增加换肤功能

This commit is contained in:
启星
2025-08-14 10:07:49 +08:00
parent f6964c1e89
commit 4f9318d98e
8789 changed files with 978530 additions and 2 deletions

View File

@@ -0,0 +1,39 @@
//
// SREffectSvgaView.h
// SoundRiver
//
// Created by 段智博 on 2020/10/26.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface QXEffectSvgaView : UIView
/// isAutoPlay加载完成是否自动播放 【默认为YES】
- (instancetype)initWithFrame:(CGRect)frame isAutoPlay:(BOOL)isAutoPlay;
@property (nonatomic,copy) void(^didFinishedDisplay)(QXEffectSvgaView *svgaView);
@property (nonatomic,copy) void(^didStartAnimation)(void);
/// 加载资源
- (void)loadSVGAPlayerWith:(NSString *)loadPath;
/// 加载资源
- (void)loadSVGAPlayerWith:(NSString *)loadPath inBundle:(BOOL)inBundle;
/// 加载资源
- (void)loadSVGAPlayerWith:(NSString *)loadPath inBundle:(BOOL)inBundle loop:(int)loop;
/// 开始动画【不回调didStartAnimation开始block】
- (void)startEffectSvgaPlay;
/// 暂停动画
- (void)pauseEffectSvgaPlay;
/// 停止动画
- (void)stopEffectSvgaPlay;
/// 销毁
- (void)destroySvga;
@end
NS_ASSUME_NONNULL_END