Displaying text on a UILabel in digital form?

后端 未结 3 1111
时光取名叫无心
时光取名叫无心 2021-02-10 13:35

How can we display text in digital format(seven segment display) on a UILabel similar to the way as text is displayed in Digital Clock.

3条回答
  •  野性不改
    2021-02-10 13:51

    For simple you can also use Apple recommended font.

    label.font=[UIFont fontWithName:@"DBLCDTempBlack" size:60.0];
    

    Please Check this to find all the font supported by iPhone.

提交回复
热议问题