Explorar o código

Verify secure coding for YYImage.

线程 %!s(int64=8) %!d(string=hai) anos
pai
achega
85a3f84b48
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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 {