Pre-rendering, Pre-blending, CoreGraphics, CALayers?

别等时光非礼了梦想. 提交于 2019-12-12 06:06:24

问题


I have 200+ uiLabels added to a long (92000px) uiScrollView. I am getting the impression from some of the QAs that one option to improve performance is to pre-render the whole view into one?

I basically add my uiLabels in a for loop inside ViewDidLoad to a scrollview.

Could someone give me a few ideas for how you could go about rendering all those uilabels to a single layer? then add that layer to the uiScrollView?

(I mention single Layer, I don't know anything about layers, I am just making an assumption)

many thanks for any ideas...

来源:https://stackoverflow.com/questions/5472068/pre-rendering-pre-blending-coregraphics-calayers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!