20 Jul 2011, 03:25
Generic-user-small

Scott Steinman (4 posts)

I’d like to make a ticker tape display where the same text is scrolled repeatedly from off-screen on the right side to off-screen on the left side. Two lines of text will be used, with different font sizes for each. What would be a good approach for this?

  1. CAScrollLayer holding two CATextLayers for the two lines of text (to deal with the two font sizes)? I don’t know if a CAScrollLayer can scroll its contents offscreen, and I’m not finding any documentation that says whether or not this can be done.

  2. CALayer with text drawn directly into it and scrolled by translating in 3D space?

Thanks in advance for your help.

06 Aug 2011, 04:00
Generic-user-small

Scott Steinman (4 posts)

After a long time with no responses, I plugged my way through the book and example code on the web, and finally figured this out. Whew!

  You must be logged in to comment