iOS渲染

作者: 某个胖子 | 来源:发表于2016-01-05 11:08 被阅读102次
  • 离屏渲染
    两种:
    • CPU离屏渲染:
      1、使用 core graphics
      2、在 drawrect 中执行
  • GPU离屏渲染(Blending):
    Layers 使用 shouldRasterize(栅栏)、cornerRadios(圆角), masks, shadows, edge antialiasing(锯齿)

文章来自优化tableview

相关文章

网友评论

      本文标题:iOS渲染

      本文链接:https://www.haomeiwen.com/subject/dwczhttx.html