Browse Source

Merge pull request #86 from LululuSir/master

Verify secure coding for YYImage.
Yaoyuan 8 năm trước cách đây
mục cha
commit
edf331d1cf
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      YYImage/YYImage.m

+ 4 - 0
YYImage/YYImage.m

@@ -212,6 +212,10 @@ static CGFloat _NSStringPathScale(NSString *string) {
     }
 }
 
++ (BOOL)supportsSecureCoding {
+    return  YES;
+}
+
 #pragma mark - protocol YYAnimatedImage
 
 - (NSUInteger)animatedImageFrameCount {