I have a subclass of UIButton that uses its own font. The problem is that the capital letters do not show diarrhea.
Below are images of the same button sample with and without a custom font. I set the background color of the title to red to see what happens.
No special font

With custom font

My subclass of UIButton overrides awakeFromNib
- (void)awakeFromNib { [super awakeFromNib]; UIFont *font = [UIFont fontWithName:@"TitilliumText22L-Bold" size:self.titleLabel.font.pointSize]; self.titleLabel.font = font; }
Can someone tell me what to do to show diasis on top of the capital letters?
Thanks.
source share