Probably your font does not exist in your system.
I tested with
self.titleLabel?.font = UIFont(name: "Helvetica", size: 3)
And it works.
It works as well with It does not work with "Avenir Next Condensed".
It does not work with "Avenir Next Condensed Regular".
Topic:
Programming Languages
SubTopic:
Swift
Tags: