UIAlertController change font color

后端 未结 8 774
时光取名叫无心
时光取名叫无心 2021-02-05 06:43

Here\'s my code that creates the UIAlertController

    // Create the alert controller
    var alertController = UIAlertController(title: \"Are you sure you want          


        
8条回答
  •  离开以前
    2021-02-05 07:34

    After some trial and error, I found this worked. Hopefully this will help future swift newcomers!

    alertController.view.tintColor = UIColor.blackColor()
    

提交回复
热议问题