什么是“Error Domain=NSURLErrorDomain Code=-1020 UserInfo=0x1694a0”操作无法完成。 (NSURLErrorDomain 错误 -1020。)""由于 ??
最佳答案
您从 NSURLConnection 获得的错误代码在 NSURLError.h
和 CFNetworkErrors.h
以及 this Apple documentation 中.看起来 -1020 是 kCFURLErrorDataNotAllowed
,它表示:
"The connection failed because data use is currently not allowed on the device."
关于iphone - NSURL 连接错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2720239/