Breaking News
Home / iOS / iOS Snippets / How to use a LED like font in iOS?

How to use a LED like font in iOS?

Snippet

LED like font is available on the iOS platform. The following snippet shows how to set the font to LED like for a label.

  1.  
  2.   UILabel *remainLabel  = [UILabel alloc] init];
  3.  
  4.   [remainLabel setText: @"39:24"];
  5.    
  6.   remainLabel.font =    [UIFont fontWithName:@"DBLCDTempBlack" size:20];

<!>

[pb_builder]

Check Also

EKCalendar – That account does not allow calendars to be added or removed

Usecase When I am trying to create a new Calendar programmatically using the EventKit API …

Advertisment ad adsense adlogger