I have seen in the in-built apps for iphone that there is a red delete UIButton. My question is, how do I change the color of the button. Usually there is a ‘tint’ attribute in the attributes inspector but there is not when using a UIbutton.
Is there any way to programmatically change the color?
I appreciate any help.
I have seen in the in-built apps for iphone that there is a red
Share
You can make buttons with colors by using the layer of the button. First add the QuartzCore framework to your project. Then add
#import <QuartzCore/QuartzCore.h>into your view class. To make a red button do thisHope this helps!