简体   繁体   English

如何在带有索引的UITableView上显示滚动条

[英]How to show the scrollbar on UITableView with indexes

I have a UITableView with indexes (sectionIndexTitlesForTableView) and I want to show the scrollbar when the user scrolls this table. 我有一个带有索引(sectionIndexTitlesForTableView)的UITableView,并且我想在用户滚动此表时显示滚动条。 How can I do this? 我怎样才能做到这一点?

Thanks, Mikhail 谢谢,米哈伊尔

Is that [self.tableView setShowsHorizontalScrollIndicator:YES]; 那是[self.tableView setShowsHorizo​​ntalScrollIndicator:YES]; ? But the default value of showsHorizontalScrollIndicator is YES; 但是showsHorizo​​ntalScrollIndicator的默认值为YES;

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

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