Is there a way to hide the scroll indicators in a UIScrollView?

前端 未结 7 1592
无人共我
无人共我 2020-12-12 20:12

I\'ve got a use case where those indicators disturb the user interaction. Can I subclass and override a method or do something similar to remove the scroll indicators from t

7条回答
  •  时光取名叫无心
    2020-12-12 20:43

    For those looking to do this in Swift.

    self.tableView.showsHorizontalScrollIndicator = false
    self.tableView.showsVerticalScrollIndicator = false
    

提交回复
热议问题