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

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

    No answers have worked for me because the focus ring of indicators is shown every time but I solve my problem via NSStoryboard.

    NSCollectionView have a diagram;

    Scroll View - Collection View then Clip View then Scroller (vertical) & Scroller (Horizontal)

    Click any Scroller object then in Attributes Inspector set Focus Ring property to None. If you have not set it you can have a problem when users change the Appearance between Dark and Light.

提交回复
热议问题