开发者

Adding a UIPageControll to an UITableView Cell

开发者 https://www.devze.com 2022-12-22 05:19 出处:网络
i want to add a UIPageControl to a single tableV开发者_开发百科iew Cell. It should be possible to swipe the cell and indicate the position with a paged Controll.

i want to add a UIPageControl to a single tableV开发者_开发百科iew 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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消