iPhone NSData to NSString Conversion

By | April 30, 2011

Hi,

Use the following line of code to convert NSData to NSString in iPhone/iPad using Objective C.

NSString *convertedString =[ [NSString alloc]initWithData:yourData];

Here ‘yourData’ is your NSData which you want to convert to NSString.
🙂

Leave a Reply

Your email address will not be published. Required fields are marked *