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

前端 未结 7 1593
无人共我
无人共我 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:33

    These are your UITableView scrolling properties:

    [YourTableView setShowsHorizontalScrollIndicator:NO];
    [YourTableView setShowsVerticalScrollIndicator:NO];
    

    These are your UIScrollView scrolling properties:

    [YourScroll setShowsHorizontalScrollIndicator:NO];
    [YourScroll setShowsVerticalScrollIndicator:NO];
    

提交回复
热议问题