0

I've tried and its been 40 mins and I still am unable to put a border around the text that appears , it just remains one solid color, BLUE, and I need a black border around the text.

[bigButtonHere setTitleColor:[UIColor blueColor] forState:UIControlStateNormal];

[bigButtonHere.titleLabel setShadowOffset:CGSizeMake(1, 2)];

How can I do this?

Additional: I need it on the text in the button, so if the text is yellow it must have a black outline around the letter.

Ricky
  • 41
  • 5

1 Answers1

2

Only

 bigButtonHere.titleLabel.shadowOffset=CGSizeMake(1, 2);
 bigButtonHere.titleLabel.shadowColor=[UIColor redColor];

Tested!

AlieN
  • 555
  • 2
  • 16