| 1234567891011121314151617181920212223242526272829303132 |
- //
- // MHBeautyFaceView.h
- //美型UI
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @protocol MHBeautyFaceViewDelegate <NSObject>
- @required
- - (void)handleFaceEffects:(NSInteger)beautyType sliderValue:(NSInteger)value name:(NSString*)name;
- @end
- @interface MHBeautyFaceView : UIView
- @property (nonatomic, weak) id<MHBeautyFaceViewDelegate> delegate;
- //根据版本类型设置美型UI界面
- - (void)configureFaceData:(NSMutableArray *)facesArr;
- /**
- 选中一键美颜功能的后,取消美型选中状态
- @param type 选中的美型类型
- */
- - (void)cancelSelectedFaceType:(NSInteger)type;
- - (void)clearAllFaceEffects;
- /**
- 获取当前选中的类型索引
- */
- - (NSInteger)currentIndex;
- @end
- NS_ASSUME_NONNULL_END
|