简体   繁体   English

向UITableView的每个部分添加滚动功能

[英]Adding scroll functionality to UITableView's each section

I'm going through the example TVAnimationGestures from WWDC 2010. If i have to add a scroll bar / support scrolling functionality for each section of UITableView how can this be achieved? 我正在看WWDC 2010的示例TVAnimationGestures。如果我必须为UITableView的每个部分添加滚动条/支持滚动功能,那如何实现?

eg, assuming the contents shown in each row of a section is wide enough, hence scroll all the rows in each section of 'QuoteCell'. 例如,假设一个节的每一行中显示的内容足够宽,因此滚动“ QuoteCell”的每一节中的所有行。

Thanks. 谢谢。

You should create a custom UITableViewCell and add a UIScrollView... That's all! 您应该创建一个自定义UITableViewCell并添加一个UIScrollView ...就这样! :-) :-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM