NSData to Base64 NSString & Base64 NSString to NSData – Conversion/Encoding

This post is surely going to help for easy conversion between Base64 NSString & NSData.

Base 64 encoding & Decoding

Base 64 encoding & Decoding

I will guide you how to encode & decode.

You can always use methods base64DataFromString and base64StringFromData if you have properly imported following file.

NSStringAdditions.h

You can download it from here. Download, Extract & add it to your project.

Leave a Reply

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



*