[Solved] How to add UILabel from a loop? [closed]

[ad_1]

You should actually create the label and place it on your view.

UILabel *display = [[UILabel alloc] init];
display.text = [chars objectAtIndex:i];
display.frame = CGRectMake(x, y, 14, 22);
display.textColor = [UIColor whiteColor];
[self.view addSubView:display];

[ad_2]

solved How to add UILabel from a loop? [closed]