我在从api请求数据时遇到此错误.我想要的只是获取消息“请求超时”.在NSLocalizedDescription中.怎么弄?下面是返回错误.
Error Domain=NSURLErrorDomain Code=-1001 “The request timed out.”
UserInfo=0xa5bd490 {NSErrorFailingURLStringKey=api url,
NSErrorFailingURLKey=api url,NSLocalizedDescription=The request timed
out.,NSUnderlyingError=0xa5763b0 “The request timed out.”}