gpt4 book ai didi

ios - 自定义颜色我的 UIActivityIndi​​catorView

转载 作者:IT老高 更新时间:2023-10-28 11:36:47 25 4
gpt4 key购买 nike

我想让我的 UIActivityIndi​​catorView 用自定义颜色着色。有没有办法设置这个属性?

最佳答案

在 iOS 5.0 及更高版本中,您可以在 UIActivityIndi​​catorView 上使用 setColor: 来设置自定义颜色。

在 Swift 中你可以只使用 activityIndi​​catorView.color = UIColor.red

关于ios - 自定义颜色我的 UIActivityIndi​​catorView,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2805200/

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