iOS5 中的 UIActivityIndicator 应该有一个颜色选项。如何实施?
在iOS5中,似乎是一个选项< /a> ** 使用带有颜色的 UIActivityIndicator 来代替过去的灰/白色选项。
我不知道如何实现这一点。有人这样做过吗?又如何呢?
非常感谢..
** 这是苹果有关该主题的文档的链接。
In iOS5, there appears to be an option ** to use the UIActivityIndicator with a color in place of the gray/white options of the past.
I cannot figure out how to implement this. Has anyone done this? and how?
Many thanks..
** this is a link to Apple's documentation on the subject.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只需将 UIColor 分配给 color 属性即可:
Just assign a UIColor to the color property: