I’m building an App that requires a custom font. I added the form to my info.plist and I can use it connecting each single object (labels, textviews. table cells…. ) manually to an IBOUtlet and them set the font in the initialization.
Nevertheless this process is long, inefficient and probably bad done.
Could somebody tell me if I can setup a font by default for all the app?
In iOS 5 this is easy:
Set a default font for whole iOS app?
Prior to iOS 5 if you’re doing this throughout your app, I’d subclass
UILabeland apply your changes there.Throughout your app simply use your subclass instead of
UILabel.Even in interface builder you can do this – just change the “Class” to your custom class in the panel on the right.