Until now, I have this code :
NSString *hex = [NSString stringWithFormat:@"%lX", crc32Result];
Which formats an int value into a hex (string) value.
But now, I would like to always get a 4 bytes hex with "stringWithFormat". I mean, when the result is, for example : "DFF241", then I would like it to output "00DFF241" instead. If it is "F241", I would like the output to be "0000F241".
Is it possible with "stringWithFormat"?