Composite view - repurposing a UITableView?
Hi there all,
I'm looking for a bit of advice on how I might go about implementing the following:
I have basically a big block of text - above the text I want to place an image. I'm going to apply a bit of styling around the image - a background color and maybe some attribution text.
I would like the user to be able to scroll the complete view - text and image - as if they were one single entity.
I've been experimenting with a UIViewController, that has a number of sub-views. In short - a UITextView and a UIImageView, as well as a UIView (for the background styling).
The text scrolls - but everything else remains static.
-------
So my question is am I somewhere on the right lines - should I be looking at UIScrollView? Maybe I have my view controller adopt the UIScrollView protocol - and then everything inside it can scroll happily?
That seems sensible - but I thought maybe I could just 'repurpose' a UITableView... but that doesn't seem quite right.
Any advice would be super helpful - many thanks for anything you can give!
>>joss
|