123456789101112131415161718192021 |
- //
- // YMCustomEffectView.h
- // MSYOUPAI
- //
- // Created by YoMi on 2024/3/2.
- // Copyright © 2024 MS. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface YMCustomEffectView : UIVisualEffectView
- @property (nonatomic, assign) CGFloat intensity;
- @property (nonatomic, strong) UIViewPropertyAnimator * animator;
- - (instancetype)initWithEffect:(UIVisualEffect *)effect intensity:(CGFloat)intensity;
- @end
- NS_ASSUME_NONNULL_END
|