【发布时间】:2026-02-15 19:30:01
【问题描述】:
在 iOS5 中,appears to be an option ** 使用带有颜色的 UIActivityIndicator 来代替过去的灰/白选项。
我不知道如何实现这一点。有人做过吗?以及如何?
非常感谢..
** 这是指向 Apple 相关主题文档的链接。
【问题讨论】:
标签: xcode ios5 uiactivityindicatorview
在 iOS5 中,appears to be an option ** 使用带有颜色的 UIActivityIndicator 来代替过去的灰/白选项。
我不知道如何实现这一点。有人做过吗?以及如何?
非常感谢..
** 这是指向 Apple 相关主题文档的链接。
【问题讨论】:
标签: xcode ios5 uiactivityindicatorview
只需将 UIColor 分配给 color 属性:
activityIndicator.color = [UIColor redColor];
【讨论】: