How to convert a base64 encoded document into a mu

2019-08-04 07:30发布

问题:

The examples I have seen are geared towards C#.

Any tips would be appreciated.

回答1:

UIImage* image = [UIImage imageWithData:
                  [NSData dataFromBase64EncodedString: stringBase64]];

Hope it helps. I don't know what you mean by "multipage UIImageView". The NSData category providing the dataFromBase64EncodedString method is here or here.