I want to take a standard UILabel and increase the font size so that it fills the vertical space. Taking inspiration from the accepted answer for this question, I defined a sub
Your calculation for pointsPerPixel is the wrong way up, it should be...
pointsPerPixel
float pointsPerPixel = self.font.pointSize / size.height;
Also, maybe this code should be in layoutSubviews as the only time the font should be changed is when the frame size changes.
layoutSubviews