|
@@ -9,6 +9,7 @@
|
|
|
#import "PQBridgeObject.h"
|
|
|
#import "CommonCrypto/CommonDigest.h"
|
|
|
#import "CommonCrypto/CommonHMAC.h"
|
|
|
+
|
|
|
int32_t const CHUNK_SIZE = 8 * 1024;
|
|
|
|
|
|
#define CC_MD5_DIGEST_LENGTH 16 /* digest length in bytes */
|
|
@@ -100,7 +101,7 @@ int32_t const CHUNK_SIZE = 8 * 1024;
|
|
|
|
|
|
|
|
|
// 手机剩余空间
|
|
|
-- (CGFloat)getPhoneDiskFreeSize {
|
|
|
++ (CGFloat)getPhoneDiskFreeSize {
|
|
|
|
|
|
uint64_t totalSpace = 0;
|
|
|
|
|
@@ -124,7 +125,7 @@ int32_t const CHUNK_SIZE = 8 * 1024;
|
|
|
|
|
|
totalFreeSpace = [freeFileSystemSizeInBytes unsignedLongLongValue];
|
|
|
|
|
|
- s = totalFreeSpace/ (1024.0 * 1024.0);
|
|
|
+ s = totalFreeSpace / (1024.0 * 1024.0);
|
|
|
|
|
|
}
|
|
|
|
|
@@ -132,4 +133,5 @@ int32_t const CHUNK_SIZE = 8 * 1024;
|
|
|
|
|
|
}
|
|
|
|
|
|
+
|
|
|
@end
|