问题描述
我有一个用例,其中这些指标会干扰用户交互.我可以子类化并覆盖一个方法或执行类似的操作来从滚动视图中删除滚动指示器吗?
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 the scroll view?
推荐答案
将uiscrollview的showshorizo??ntalscrollindicator和showsverticalscrollindicator属性设置为没有.
[tableview setshowshorizontalscrollindicator:no]; [tableview setshowsverticalscrollindicator:no];
文档 - uiscrollview