search

Home  >  Q&A  >  body text

objective-c - iOS 通过GCDAsyncSocket 接收到 data 图片 如何显示

iOS 通过GCDAsyncSocket 接收到 data 图片 如何显示
一张图片接收到很条数据,我把数据拼接处但是使用imageWithData方法不显示图片
image 为nil
UIImage *image = [UIImage imageWithData:self.downloadImageData];

PHPzPHPz2757 days ago637

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-05-02 09:34:08

    The method is correct, but there is something wrong with the splicing method

    reply
    0
  • Cancelreply