thellimist / EZAlertController

Easy Swift UIAlertController
MIT License
366 stars 50 forks source link

Set Tint Color? #20

Closed oliverbytes closed 8 years ago

oliverbytes commented 8 years ago

Hi guys, how do we set the Tint Color of the overall dialog in this awesome pod?

thellimist commented 8 years ago

This is a simple function template. Every single function provided in this pod is returning the UIAlertController object. You can change anything which UIAlertController allows you to change

    open class func alert(_ title: String) -> UIAlertController {
        return alert(title, message: "")
    }

for tint color check this link

let myAlert = EZAlertController.alert("hey")
// do whatever you want with myAlert