grobald
grobald

Reputation: 155

Adding a UIPageControll to an UITableView Cell

i want to add a UIPageControl to a single tableView Cell. It should be possible to swipe the cell and indicate the position with a paged Controll.

The amound of Views within the paged controll is different in every cell. Is should also be possible if i scroll the table view that the actual view stays selected.

here is a screenshot which will tell you more than thousands words: http://www.freeimagehosting.net/uploads/889f10a5d9.png

has someone got an idea?

Upvotes: 0

Views: 1211

Answers (1)

Jasarien
Jasarien

Reputation: 58448

Looks like an awfully over-complicated design to me... but oh well.

Just remember that a table cell view is just a subclass of UIView. It's just used slightly differently to other view, eg. dequeuing resuable cells etc.

You should be able to add a scroll view as a subview of the table cell's contentView. Follow Apple's scroll view sample code to set up a pageable scroll view.

Upvotes: 1

Related Questions