Set custom font in iphone programming

I am creating an application that requires its own font. I added a form to my info.plist, and I can use it to connect each individual object (shortcuts, text images. Table cells ...) manually with IBOUtlet, and they set the font in initialization.

However, this process is lengthy, inefficient, and probably poorly done.

Can someone tell me if I can set the default font for the whole application?

+5
source share
2 answers

In iOS 5, this is easy:

Set default font for entire iOS app?

iOS 5, , UILabel .

UILabel.

- "" .

enter image description here

+2

, , IBOutlet , UIFont, UIFont *customFont = [UIFont alloc] init];, , . font = customFont; UIButton.title.font = customFont, .

+1

All Articles