Here is the screen shot from Cruise Finder app, I want to implement this kind of UITableView
in which every row scrolls horizontally(synchronous) with table view scrolling vertically.
I need to show a calendar for which First row showing Jun 2013 remains at fixed position,
and all other data scrolls in free form.
Every row has a title, which does not scroll horizontally e.g. 'Oceania'
问问题
290 次
2 回答
2
日历不应成为您的UITableView
. 它应该是一个单独的组件。可能是带有背景图像的 UIScrollView。
您必须创建一个自定义 UITableViewCell 来创建它。在您的自定义 UITableViewCell 中,您必须创建以下内容:
- 部分。
- UILabel 不会滚动和显示标题。例如“大洋洲”
- 然后一个
UIScrollView
里面一个UITableView
。哪个只会滚动到您的UILabel
.
检查下图:
于 2013-02-13T12:36:51.917 回答
1
您可以UIScrollView
在您的UITableViewCell
[cell addSubview:yourScrollView];
于 2013-02-13T12:35:17.510 回答