1

this is my code but dont get the label in round

//code is here

UILabel * lblWish= [[UILabel alloc] initWithFrame:CGRectMake(x+25,318, 290, 100)];
lblWish.transform = CGAffineTransformMakeRotation( M_PI/90);
lblWish.textColor=[UIColor whiteColor];
[lblWish setFont:[UIFont fontWithName:@"Dadhand" size:38]];
lblWish.lineBreakMode = UILineBreakModeWordWrap;
lblWish.numberOfLines = 2;//Dynamic
lblWish.backgroundColor = [UIColor clearColor];
lblWish.shadowColor = [UIColor colorWithWhite:1.0 alpha:0.4];
lblWish.shadowOffset = CGSizeMake(1, 1);
lblWish.text = [ArylblWish objectAtIndex:i]

[self.view addSubview:lblWish];
Dev
  • 390
  • 2
  • 11

1 Answers1

2

I think you want corner in round. you need to add QuartzCore Framework and after add this code: lblWish.layer.cornerRadius=50;

Hector
  • 3,889
  • 2
  • 27
  • 42