Commit f8232c64 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

UIDevice: cosmetics

parent 1d5d9a4e
......@@ -56,9 +56,9 @@
if (!error) {
totalSpace = [dictionary objectForKey:NSFileSystemSize];
totalFreeSpace = [dictionary objectForKey:NSFileSystemFreeSize];
NSString *totalSize = [NSByteCountFormatter stringFromByteCount:[totalSpace integerValue] countStyle:NSByteCountFormatterCountStyleFile];
NSString *totalFreeSize = [NSByteCountFormatter stringFromByteCount:[totalFreeSpace integerValue] countStyle:NSByteCountFormatterCountStyleFile];
APLog(@"Memory Capacity of %@ MiB with %@ MiB Free memory available.", totalSize, totalFreeSize);
NSString *totalSize = [NSByteCountFormatter stringFromByteCount:[totalSpace longLongValue] countStyle:NSByteCountFormatterCountStyleFile];
NSString *totalFreeSize = [NSByteCountFormatter stringFromByteCount:[totalFreeSpace longLongValue] countStyle:NSByteCountFormatterCountStyleFile];
APLog(@"Memory Capacity of %@ with %@ Free memory available.", totalSize, totalFreeSize);
} else
APLog(@"Error Obtaining System Memory Info: Domain = %@, Code = %li", [error domain], [error code]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment