iOS 与 web 交互传图
xxxixxxx

web 端将图片 base64 编码后传给 iOS 端,会在 base64 编码前加上 data:image/png;base64, 需要先把这一串给去掉后进行解码,然后转 data 再转为 image

  • Post title:iOS 与 web 交互传图
  • Post author:xxxixxxx
  • Create time:2020-12-07 00:00:00
  • Post link:https://xxxixxx.github.io/2020/12/07/500-iOS-与-web-交互-传图/
  • Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.
 Comments