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];
The method is correct, but there is something wrong with the splicing method