Trying to draw a rect in UITableViewCell
//Works with iOS6 and earlier but NOT with ( iOS7 )
- (void)drawRect:(CGRect)rect {
// Creating a black border
[[UIColor blackColor] setFill];
UIRectFill(CGRectMake(10, 5, 40, 43));
// Filling with rig color
[[UIColor colorWithRed:r green:g blue:b alpha:a] setFill];
UIRectFill(CGRectMake(11, 6, 38, 41));
}
Does anybody know why this doesn't work in iOS 7 but does in iOS 6?