UIImage 注意事项
2016-01-18 15:55
537 查看
//有缓存
UIImage * image = [UIImage
imageNamed:@""];
//无缓存 播放帧动画是使用无缓存的方式
NSString * url = [[NSBundle
mainBundle]pathForResource:@""
ofType:@""];
UIImage * image1 = [[UIImage
alloc]initWithContentsOfFile:url];
UIImage * image = [UIImage
imageNamed:@""];
//无缓存 播放帧动画是使用无缓存的方式
NSString * url = [[NSBundle
mainBundle]pathForResource:@""
ofType:@""];
UIImage * image1 = [[UIImage
alloc]initWithContentsOfFile:url];
相关文章推荐
- 【从零学习经典算法系列】分治策略实例——高速排序(QuickSort)
- 快排Quick Sort到底有多快?
- You attempted an operation that requires PV drivers to be installed on the VM.
- [iOS]关于状态栏(UIStatusBar)的若干问题
- UESTC--1256
- Divide and conquer:Dropping tests(POJ 2976)
- 果冻回弹效果 拉刷新效果 UIBezierPath
- UItableView搜索和全部删除
- UICollectionView的基本使用
- UITableView 分割线贴近左端屏幕开始
- 学习笔记:关于segue
- NGUI 相片循环滚动效果
- UI控件RecyclerView浅析
- 【django】request
- LeetCode Range Sum Query - Mutable
- UILabel根据文字计算高度在UItableview中的应用
- 《iOS Human Interface Guidelines》——HealthKit
- UIpickerView获得选中值
- XML hexadecimal value 0x__, is an invalid character
- 1367:[Baltic2004]sequence 左偏树