set button font style in swift code example
Example: how to change the font of buttons programmatically swift
myButton.titleLabel?.font = UIFont(name: YourfontName, size: 20)
myButton.titleLabel?.font = UIFont(name: YourfontName, size: 20)