iOS Memory issue (ARC) when downloading and saving large ammount of images from server
问题 The following code downloads 700+ images from a server with varying sizes, the issue here is that memory (even with ARC) is never released and eventually a memory warning appears followed by the application exiting. I've tried @autoreleasepool in this method and that didn't seem to work. Also I've tried stopping the for loop at different locations to see if memory is released after it finished, but it isn't. This method is called inside a for loop and receives the image url and short name. It