objective-c - How to display the data image received by iOS through GCDAsyncSocket
PHPz
PHPz 2017-05-02 09:32:08
0
1
673

iOS receives data through GCDAsyncSocket. How to display the image?
A picture receives a lot of data. I spliced ​​the data but used the imageWithData method to not display the picture.
image is nil
UIImage *image = [ UIImage imageWithData:self.downloadImageData];

PHPz
PHPz

学习是最好的投资!

reply all(1)
刘奇

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template