Cahnging bgColor of a UIView not working.
Cahnging bgColor of a UIView not working.
- Subject: Cahnging bgColor of a UIView not working.
- From: Gustavo Pizano <email@hidden>
- Date: Wed, 29 Jul 2009 11:29:10 +0200
Hello.
Im trying to change the color of a UIView programatically but
something is wrong.
Im pressing a button which triggers an IBAction, which does the
following:
[[self view] setBackgroundColor:[UIColor colorWithRed:20.0 green:10.0
blue: 30.0 alpha:1.0]];
but when I press the button the program blows with an
NSInvalidArgumentException..
what am I doing wrong?
thanks
Gustavo Pizano
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden