我有一个来自请求图表的facebook头像网址:
https://graph.facebook.com/1382937585156604/picture?type=large
但是,在使用imageView.kf.setImage(with: url)
中的Kingfisher
工作之前,我无法在浏览器和应用中下载此内容。但现在我不知道为什么无法下载。
错误说:
错误域= NSURLErrorDomain代码= -1003“具有指定的服务器 无法找到主机名。“ UserInfo = {NSUnderlyingError = 0x60000064fb40 {错误 Domain = kCFErrorDomainCFNetwork Code = -1003“(null)” UserInfo = {_ kCFStreamErrorCodeKey = 8,_kCFStreamErrorDomainKey = 12}}, NSErrorFailingURLStringKey = https://scontent.fna.fbcdn.net/v/t1.0-1/p200x200/13934572_1021586177958415_8257832708833676680_n.jpg?oh=70f8a5971ca2214bf1167879074ce0ca&oe=5A415F24, NSErrorFailingURLKey = https://scontent.fna.fbcdn.net/v/t1.0-1/p200x200/13934572_1021586177958415_8257832708833676680_n.jpg?oh=70f8a5971ca2214bf1167879074ce0ca&oe=5A415F24, _kCFStreamErrorDomainKey = 12,_kCFStreamErrorCodeKey = 8,NSLocalizedDescription =具有指定主机名的服务器无法 找到。}
with errorCode:1003
我的ReadPermission是:[“email”,“public_profile”]。