【发布时间】:2012-04-23 16:21:08
【问题描述】:
如果我们在使用 iPhone 4 设备时在 NSMutableURLRequest/NSURLRequest 中使用“http://localhost:7001”而不是“http://127.0.0.1:7001”有什么区别吗?
NSMutableURLRequest *request;
request = [[[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"http://127.0.0.1:7001/"]
cachePolicy:NSURLRequestReloadIgnoringCacheData
timeoutInterval:60] autorelease];
谢谢
【问题讨论】:
标签: iphone ios localhost nsurlrequest nsmutableurlrequest