How to convert a base64 encoded document into a multipage UIImageView in iOS?

泪湿孤枕 提交于 2019-12-13 01:45:31

问题


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.



来源:https://stackoverflow.com/questions/5890305/how-to-convert-a-base64-encoded-document-into-a-multipage-uiimageview-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!