Pre-rendering, Pre-blending, CoreGraphics, CALayer

2019-08-30 02:27发布

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...

0条回答
登录 后发表回答