views:

130

answers:

3

As per the question, I'm looking to implement a video selector with different categories. This would be very similar to the BBC app in approach. I don't seem to be able to find anything that fits the bill though, has anyone got any good ideas for how I might be able to do this/an API freely available that does it. See example:

http://www.bbc.co.uk/blogs/bbcinternet/img/BBC_News_app_portrait_BBC_copyright.PNG

A: 

You have to use scrollview instead of tableview for this case.

You can make a custom view for each of the news items and can be added to the scrollview.

Anil Sivadas
A: 

The easiest way to do this would be to create a simple UITableView and, inside each cell, create a UIScrollView :)

UIScrollView *myScrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0,0,320,100)];
myScrollView.delegate = self;
myScrollView.contentSize = CGSizeMake(2000,100);

for(int i = 0; i < [myData count]; i++) {
// Add your content here
}
Vivi
Ah cool I'll have a go with that, I wasn't sure if the scroll view supported that sort of behaviour (noob alert!) I'll give that a try. Many thanks...
Andi Ching
You're welcome; I did the same kind of work, UISCrollView works like a charm.
Vivi
A: 

You can start from this pageControl sample code. It has horizontal scrolling with pages.

Toro