适合显示时间的字体

    UILabel *label = [[UILabel allocinitWithFrame:CGRectMake(050320300)];

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

    label.backgroundColor = [UIColor colorWithRed:1 green:1 blue:1 alpha:0];

    label.text = @"10:32";

    label.textColor = [UIColor greenColor];

    [self.view addSubview:label];

你可能感兴趣的:(Iphone)