Change width and colour of scroll bar in UITableView, iphone

前端 未结 8 1538
时光说笑
时光说笑 2020-11-30 06:53

I could only find if one wants to display scroll bar or not using

tableView.showsVerticalScrollIndicator = YES/NO;

but how can I customize

8条回答
  •  离开以前
    2020-11-30 07:10

    You can change the scroll indicator color using:

    tableView.indicatorStyle=UIScrollViewIndicatorStyleWhite;
    

    Hope this helps.

提交回复
热议问题