作者:
areyo (沒有名字的怪物)
2016-06-28 15:10:17午安
想請教個問題我想從網路讀取圖片
然後透過UIImage設定到UIImageView去
之前用的code都好好的
NSURL *url = [NSURL URLWithString:imgUrlString];
UIImage *urlImage = [[UIImage alloc]
initWithData:[NSData dataWithContentsOfURL:url]];
可在urlImage都只拿到Nil
在8.x版還可以,最近升級到9.x卻出現這問題
請問有解決辦法嗎
謝謝