Search code examples
iphoneobjective-cioscatextlayerquartz-core

Mix CATextLayer and CAScrollLayer


I need a scrollable CATextLayer to display a NSAttributedString. Is there any way to mix both layers, or to add a scroll to CATextLayer or to display text in a CAScrollLayer?

Sorry if the question isn't very exact. Thanks!

EDIT: I haven't seen that the CALayer is scrollable. Sorry!


Solution

  • CALayer (and CATextLayer) can be scrolled