Explorar el Código

Verify secure coding for YYImage.

线程 hace 8 años
padre
commit
85a3f84b48
Se han modificado 1 ficheros con 4 adiciones y 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 {