pmusolino / PMAlertController

PMAlertController is a great and customizable alert that can substitute UIAlertController
MIT License
2.53k stars 186 forks source link

How to customize like fonts? #95

Open saravr opened 4 years ago

saravr commented 4 years ago

README says it is customizable but don't see an option. For example, action label font is hardcoded as "Avenir-Heavy". I can always do:

let okAction = PMAlertAction(title: "OK", style: .default, action: { () in
            print("Capture action OK")
        })
okAction.titleLabel?.font = ... my font ...

Are there other ways without looking into the code