【发布时间】:2014-12-09 08:10:27
【问题描述】:
该项目是使用 xcode 4.3 创建的。 我在此应用中使用了 AFNetworking 库(非 ARC)。
NSURL *url = [NSURL URLWithString:urlstring];
[exhibitPortraitImageView setImageWithURL:url];
在这里,当我打印一个 NSLog 值时,我得到了 URL,但没有显示 imageview。
我该如何解决这个问题?
【问题讨论】:
-
你能给我你的网址吗?我会从我身边测试它
-
这是我的 url mdb.scicloudsolutions.com:8001/sites/default/files/… 我已经完成了示例项目,在示例项目中它工作正常,但在我的应用程序中它不工作
-
当我打印 NSLog 时,url 显示,当我打印它显示的 url 时,我在 myurl 中有那个前缀,它只显示前缀 NSString *urlstring = @"mdb.scicloudsolutions.com:8001/sites/default/files/…";
标签: ios objective-c iphone afnetworking