gpt4 book ai didi

ios 将 UIScrollView 滚动条颜色更改为不同的颜色

转载 作者:IT王子 更新时间:2023-10-29 07:56:52 27 4
gpt4 key购买 nike

我们如何将 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/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com