How to change tint color of UIAlertController?

后端 未结 6 1000
暗喜
暗喜 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:44

    Just change the tintColor of the underlying view.

    [alertController.view setTintColor:[UIColor yellowColor]];
    

提交回复
热议问题