I am converting a base64 string encoded in iOS 7 and it works fine, but when the application works in iOS 6.1 application, get crashed.for iOS 7, I use:
NSData *decodedData = [[NSData alloc] initWithBase64EncodedString:pdfDataString options:0];
in iOS 6, my application fell into this line. Please help me. How can I convert a string to Base64 encoded in iOS 6.
ios objective-c iphone base64
Nancy
source share