BugList: Objective C What does -[NSURL length]: unrecognized selector sent to instance 0x
2016-07-15 09:36
1701 查看
Then its solved with by making string with [NSString stringWithFormat:] NSString *urlStr =[NSString stringWithFormat:@"%@", [_photosURLs objectAtIndex:indexPath.row]]; NSURL *url = [NSURL URLWithString:urlStr]; NSData *data = [NSData dataWithContentsOfURL:url]; UIImage *image = [UIImage imageWithData:data];
相关文章推荐
- 使用 ObjectDataSource 缓存数据
- Objective-C's Init Method
- Objective-C's Init Method
- Objective-C's Init Method
- JNI WARNING: CallObjectMethod expected return type 'L'
- Effetive Objective - C 1.Objective 7.在对象内部尽量直接访问实例变量
- CodeForces Gym 100989J Objects Panel (A)
- [精通Objective-C]块(block)
- Effetive Objective - C 1.Objective 6.属性
- System.gc()与Object.finalize()的区别
- commons-pool实战之 GenericObjectPool和GenericKeyedObjectPool
- The type java.lang.Object cannot be resolved.
- OBJECT_TYPE结构
- 关于json解析问题(JSONObject结合map的使用)
- Effetive Objective - C 1.Objective 3.多用字面量语法
- Unchecked cast: 'java.lang.Object' to 'java.util.List<java.lang.xxx>'
- Effetive Objective - C 1.Objective 2.类的头文件中尽量少引入其他类的头文件
- IValidatableObject实现model自定义验证
- python json转换异常:“In order to allow non-dict objects to be serialized..."
- Effetive Objective - C 1.Objective 概述