Download file without NSUrl/CFNetwork
I would like to download a file without using NSURL/NSURLDownload/CFNetwork. I would like to use something else because I am having issues with people using snow leopard. I ha开发者_Python百科ve had problems in the past (un-fixable leaks, crashes). Is there a different way to solve this problem?
If you're not willing to use those higher-level APIs, you can drop down to the BSD socket API and manually implement an HTTP connection. However, this is reinventing the wheel, and you should probably stick with the Objective-C/Core Foundation APIs. They are stable; if you're seeing them crash or leak, the problem probably lies in your code.
Can you show us the code where you see the crashes?
精彩评论