dataWithContentsOfURL returns NSCocoaErrorDomain Code=256 over cellular, but not wifi
问题 Really odd problem I'm having: dataWithContentsOfURL has begun returning an error code 256 over cellular, but not over wifi. The operation couldn’t be completed. (Cocoa error 256.) I do indeed have a cellular data connection, and it is functioning, so it is not a problem with my cellular connection. Plus the code works fine on wifi, so the basic code is not the issue. The code in question is: dispatch_queue_t queue = dispatch_queue_create("com.appName.FetchImage", DISPATCH_QUEUE_SERIAL);