Niche technologies
Wednesday, 25 May 2011
How to set background image on button in iphone?
UIImage *blueImage = [UIImage imageNamed:@"blueButton.png"];
UIImage *blueButtonImage = [blueImage stretchableImageWithLeftCapWidth:12 topCapHeight:0];
[btn3 setImage:blueButtonImage forState:UIControlStateNormal];
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment