You can use the initWithData: initializer:

[[NSString alloc] initWithData:data encoding:NSASCIIStringEncoding];

Change the encoding to that of the source data.

相关文章: