Wednesday, 14 August 2013

Override - (void)setBackgroundImage:(UIImage *)image forState:(UIControlState)state for nib

Override - (void)setBackgroundImage:(UIImage *)image
forState:(UIControlState)state for nib

I have a nib in that I added a button and given background image to it.
I created a sub class of UIButton and given that class to that button.
I want to override
- (void)setBackgroundImage:(UIImage *)image forState:(UIControlState)state
for nib.
Is any way to do it?.
Thanks

No comments:

Post a Comment