The Operation couldn't be completed. (Cocoa error: 3840.)
问题 I am trying to parse JSON for an ios 6 app, but can't seem to get it to work. I have scoured tons of forums but haven't found a solution that works, that I understand enough to implement, or that applies. I apologize if there is one that I missed. First I have a test WebService that as far as I can tell returns valid JSON http://thetrouthunter.com/SVLocationsAPI.php Second, here is my Objective-C code: + (NSDictionary *)connectToService:(NSString *)query { NSError *error = nil; query =