iOS开发UITableView加载图片的内存管理
DOI:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:


Memory Management and Optimization of iOS Development
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 增强出版
  • |
  • 文章评论
    摘要:

    首先对移动操作系统iOS开发过程的内存泄露、缓存等相关知识作了详细叙述, 介绍了使用iOS集成开发环境Xcode进行内存调试的方法. 针对视图UITableView中含有大量网络图片时的内存问题, 为了达到内存最优化和良好用户体验的目标, 提出异步下载网络图片和本地缓存的解决方法. 最后测试结果表明UITableView在下载图片和滑动的过程中内存占用量趋于稳定, app的运行速度较为顺畅, 拥有较好的用户体验.

    Abstract:

    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加载图片的内存管理.计算机系统应用,2012,21(9):113-118

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2012-01-19
  • 最后修改日期:2012-03-04
  • 录用日期:
  • 在线发布日期:
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号