EXC_BAD_ACCESS in NSURLConnection: how to debug?
- by baswell
I have an iPhone app that downloads URLs. (PDFs to display) Easy:
self.conn = [NSURLConnection connectionWithRequest:self.request delegate:self];
where self.conn is a retained property.
For specific URLs, this throws EXC_BAD_ACCESS. The URL is valid and is constructed in the same way as URLs that do work. (90% of URLs are fine)
These ones…