Can someone confirm that checkResourceIsReachableAndReturnError
method of NSUrl
is working as expected. I have tried using it for known URLs and it is always returning FALSE
. I am using XCode's iPhone Simulator 4.1.
Thank you.
views:
54answers:
1
+3
A:
According to NSURL Class Reference
Returns whether the resource pointed to by a file URL can be reached.
...
Discussion
This method is unimplemented in iOS, so it performs no operation
So it only works for file URLs (which your URL probably isn't) and it only works on Mac OS X anyway.
tc.
2010-09-24 23:56:04
In conclusion, for iOS, the answer is NO, right? Any workaround?
Interfector
2010-09-25 05:26:10
What, exactly, are you trying to achieve?
tc.
2010-09-26 12:28:11
I want to see if I have an XML at a specific remote location
Interfector
2010-10-23 11:49:34