By default, UIScrollView is transparent and shows the content of the
view below it or its hosting view (although it won't let touch events
pass through). You might want to check that your subview(s) of the
UIScrollView has its backgroundColor set to [UIColor clearColor].
For example, if you watch the video on my page here: http://www.sunsetlakesoftware.com/picubed
, you'll see that the equation I display is hosted within a
transparent UIScrollView (this is most visible at about the midpoint
of the video). I'm also rendering a lot of text, although in my case
it's all generated from CALayers. This is all generated
programmatically, with no XIBs in the project at all. I have one
subview added to the UIScrollView, the view hosting the equation, and
it has a clearColor background.
I have no idea what's going on with your textView there. Why are you
setting its layer's content manually? Why are you typecasting the
CGImage to a CALayer pointer? Something seems odd there, but all of
that is completely unrelated to your scroll view.
______________________
Brad Larson, Ph.D.
Sunset Lake Software
http://www.sunsetlakesoftware.com