Marino Faggiana 6 лет назад
Родитель
Сommit
46c47228d6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      iOSClient/Utility/CCGraphics.m

+ 1 - 1
iOSClient/Utility/CCGraphics.m

@@ -238,7 +238,7 @@
         
         resizeImage = [UIImage imageWithData:UIImageJPEGRepresentation(resizeImage, 0.5f)];
         if (resizeImage)
-            [UIImagePNGRepresentation(resizeImage) writeToFile:[NSString stringWithFormat:@"%@/%@", [CCUtility getDirectoryProviderStorageFileID:fileID], fileNameView] atomically: YES];
+            [UIImagePNGRepresentation(resizeImage) writeToFile:[CCUtility getDirectoryProviderStorageFileID:fileID fileNameView:fileNameView] atomically: YES];
     }
     
     return scaleImage;