Category: iOS

0

Convert Image to Base64 string in iOS

Swift

Encoding

Decoding

iOS7 > Objectice-C version You can use NSData’s base64EncodedStringWithOptions Now encode as:

Decode as: