search

Home  >  Q&A  >  body text

ios - swift 怎么解析 下面图片 数据格式

PHP中文网PHP中文网2810 days ago437

reply all(3)I'll reply

  • 阿神

    阿神2017-04-18 09:34:53

    NSData format? Not very clear, if so use [UIImage imageWithData:<#(nonnull NSData *)#>];

    reply
    0
  • PHPz

    PHPz2017-04-18 09:34:53

    UIImage.init(data: <#T##NSData#>)

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-18 09:34:53

    The system comes with a function that converts binary data into corresponding images

    // let img = UIImage.init(data: data!)
    
    let img = UIImage(data: data!)

    reply
    0
  • Cancelreply