How to change tint color of UIAlertController?

后端 未结 6 1001
暗喜
暗喜 2020-12-06 03:25

Can I change colors of the UIAlertController ? A standard color is a blue color. And it\'s much close to the standard iOS apps. If it\'s customizable? How can I

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-06 03:32

    Add one line in your UIAllertController :

    alert.view.tintColor = UIColor.black
    

提交回复
热议问题