【发布时间】:2019-11-08 16:22:44
【问题描述】:
我正在为我的 swift 应用程序使用 google 登录。当用户点击登录时,API 会给出这个UIAlert。有什么办法可以改变这个的色调吗? IE。 “取消”和“继续”?
我什至尝试使用下面的 AppDelegate 代码全局更改它;
UIView.appearance(whenContainedInInstancesOf: [UIAlertController.self]).tintColor = Color.brandPurple
这没有效果。
【问题讨论】:
标签: ios swift uiview uialertview uialertcontroller