equal
deleted
inserted
replaced
42 if ([self respondsToSelector:@selector(backgroundView)]) { |
42 if ([self respondsToSelector:@selector(backgroundView)]) { |
43 UIView *backView = [[UIView alloc] initWithFrame:self.frame]; |
43 UIView *backView = [[UIView alloc] initWithFrame:self.frame]; |
44 backView.backgroundColor = color; |
44 backView.backgroundColor = color; |
45 self.backgroundView = backView; |
45 self.backgroundView = backView; |
46 [backView release]; |
46 [backView release]; |
47 } |
47 self.backgroundColor = [UIColor clearColor]; |
48 self.backgroundColor = [UIColor clearColor]; |
48 } else |
|
49 self.backgroundColor = color; |
49 } |
50 } |
50 |
51 |
51 @end |
52 @end |
52 |
53 |
53 |
54 |