In this tutorial I will be teaching how to create UILabel programmatically.
Here is the code:
label = [[UILabel alloc] initWithFrame:CGRectMake(100, 100, 100, 100)];
label.text = @"UILabel";
label.backgroundColor = [UIColor redColor];
label.font = [UIFont fontWithName:@"Zapfino" size:14.0];
label.shadowColor = [UIColor blackColor];
label.shadowOffset = CGSizeMake (5, 5);
label.textColor = [UIColor greenColor];
label.textAlignment= UITextAlignmentCenter;
[self.view addSubview:label];
Nesta página do site você pode assistir ao vídeo on-line iPhone SDK Tutorial: Creating UILabel programmatically duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário PuchkoffDevelopment 28 Abril 2010, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,454 vezes e gostou 3 espectadores. Boa visualização!