how can I set title font in button 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)