我们如何将 Scrollview 滚动指示器的颜色更改为蓝色、绿色等。
我知道我们可以把它改成白色、黑色。但除了这些颜色。
非常感谢
最佳答案
不幸的是你不能,当然你总是可以自己动手。这些是您的选择:
UIScrollViewIndicatorStyleDefault:
The default style of scroll indicator, which is black with a white border. This style is good against any content background.
UIScrollViewIndicatorStyleBlack:
A style of indicator which is black and smaller than the default style. This style is good against a white content background.
UIScrollViewIndicatorStyleWhite:
A style of indicator is white and smaller than the default style. This style is good against a black content background.
关于ios 将 UIScrollView 滚动条颜色更改为不同的颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12005187/