Reputation: 281
how can i set tint color as a uiview background color? thanks.
Upvotes: 1
Views: 2409
Reputation: 96966
Set the UIView
view's backgroundColor
property:
UIView *myView;
UIColor *myTint;
...
/* initialize myView and myTint */
...
myView.backgroundColor = myTint;
...
/* release myTint, if necessary */
Upvotes: 1