-systemFontOfSize is too thin, and boldSystemFontOfSize too thick. I need something inbetween.
When I create a UIFont like this:
[UIFont boldSystemFontOfSize:14];
then the debugger prints this font info:
font-family: ".Helvetica NeueUI"; font-weight: bold; font-style: normal; font-size: 14px
Sometimes fonts have a medium font weight. How can I create a font of this type but with a medium weight?
Starting with iOS 8.2 you can use:
[UIFont systemFontOfSize:14 weight:UIFontWeightMedium];
1.4m articles
1.4m replys
5 comments
57.0k users