//MHBeautyView //美颜UI #import NS_ASSUME_NONNULL_BEGIN @protocol MHBeautyViewDelegate @required /** 美颜 @param beautyType 美颜类型,详情见MHFiltersContants.h @param value 美颜参数 */ - (void)handleBeautyEffects:(NSInteger)beautyType sliderValue:(NSInteger)value name:(NSString*)name; @end @interface MHBeautyView : UIView @property (nonatomic, weak) id delegate; /** 选中一键美颜功能的后,取消美颜选中状态 @param type 选中的美颜类型 */ - (void)cancelSelectedBeautyType:(NSInteger)type; - (void)clearAllBeautyEffects; /** 获取当前选中的类型索引 */ - (NSInteger)currentIndex; - (void)configureBeautyData:(NSMutableArray *)beautyArr; @end NS_ASSUME_NONNULL_END