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 *




Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.