Decode Base64 String in Objective c

I want decoded my base64 string and want to create image from it.

                    NSData *data = [NSData dataWithBytes:bpData.rt_wav.data length:sizeof(bpData.rt_wav.data)];

 NSMutableString *baseString = [data base64Encoding];                       
UIImage *image = [UIImage imageWithData:data];   
Answered by DTS Engineer in 834399022

Foundation has a number of methods to support Base64 that work from Objective-C. You can find them listed here. Please try them out.

If you continue to have problems, please post more details about the problem you’re having.

Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Foundation has a number of methods to support Base64 that work from Objective-C. You can find them listed here. Please try them out.

If you continue to have problems, please post more details about the problem you’re having.

Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"