Check out example codes for "how to change the font of buttons programmatically swift". It will help you in understanding the concepts better.

Code Example 1

myButton.titleLabel?.font =  UIFont(name: YourfontName, size: 20)

Learn ReactJs, React Native from akashmittal.com