Hi there
How can I display these bytes in NSLog?
const void *devTokenBytes = [devToken bytes];
Cheers Cyril
Hi there
How can I display these bytes in NSLog?
const void *devTokenBytes = [devToken bytes];
Cheers Cyril
Assuming that devToken is of type NSData * (from the bytes call), you can use the description method on NSData to get a string containing the hexadecimal representation of the data's bytes. See the NSData class reference.
NSLog(@"bytes in hex: %@", [devToken description]);