Can anyone tell me how can I convert NSData length which is in bytes into megabytes.
I want to print that value in NSLog() like this:
NSLog(@"Data length: %u MB", imageData.length);
above code will print bytes but I want to print length in MB.
for example: Data length: 8 MB
Please help me.
Tarun Kumar
13-Jan-2016