Byte *bytes = (Byte *)[data bytes]; NSString *newHexStr = [NSString stringWithFormat:@"%02x",bytes[1]&0xff];///16进制数