作者热门文章
- mongodb - 在 MongoDB mapreduce 中,如何展平值对象?
- javascript - 对象传播与 Object.assign
- html - 输入类型 ="submit"Vs 按钮标签它们可以互换吗?
- sql - 使用 MongoDB 而不是 MS SQL Server 的优缺点
我想让我的 UIActivityIndicatorView
用自定义颜色着色。有没有办法设置这个属性?
最佳答案
在 iOS 5.0 及更高版本中,您可以在 UIActivityIndicatorView
上使用 setColor:
来设置自定义颜色。
在 Swift 中你可以只使用 activityIndicatorView.color = UIColor.red
关于ios - 自定义颜色我的 UIActivityIndicatorView,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2805200/
我是一名优秀的程序员,十分优秀!