检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]复旦大学计算机科学技术学院,上海200433
出 处:《计算机系统应用》2012年第9期113-118,共6页Computer Systems & Applications
摘 要:首先对移动操作系统iOS开发过程的内存泄露、缓存等相关知识作了详细叙述,介绍了使用iOS集成开发环境Xcode进行内存调试的方法.针对视图UITableView中含有大量网络图片时的内存问题,为了达到内存最优化和良好用户体验的目标,提出异步下载网络图片和本地缓存的解决方法.最后测试结果表明UITableView在下载图片和滑动的过程中内存占用量趋于稳定,app的运行速度较为顺畅,拥有较好的用户体验.This paper describes the knowledge of memory management and cache of iOS development in detail, and introduces methods of debugging memory problems using tools which is provided by Apple IDE Xcode, for the memory problems when UITableView contains large amounts of network pictures, with the goal of memory optimization and best user experience. It proposed network of asynchronous-download pictures and the local cache solution. Finally, test results show that the memory allocation is safe and stable, the app runs more smoothly, and have a better user experience.
关 键 词:IOS UITableView 内存管理 内存优化 引用计数 INSTRUMENTS
分 类 号:TP316[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.222.30.59