fix code error

This commit is contained in:
pengfei.zhou 2020-11-03 19:21:08 +08:00
parent cfe7e96831
commit 33fe830422

View File

@ -30,7 +30,7 @@ @interface DoricImageView : YYAnimatedImageView
@end @end
@implementation DoricImageView @implementation DoricImageView
- (void)displayLayer:(CALXayer *)layer { - (void)displayLayer:(CALayer *)layer {
if (@available(iOS 14.0, *)) { if (@available(iOS 14.0, *)) {
if (self.isAnimating) { if (self.isAnimating) {
[super displayLayer:layer]; [super displayLayer:layer];