I am having a very weird problem with drawing a rectangle in a cell, as it is drawing the cell, however when it displays there is a discrepancy in the border color, I have searched around and haven't found anything that can shed some light on why this might be, this is a screenshot displaying the problem http://screencast.com/t/wPS507Bg9e
This is the code of how i'm drawing the rectangle
CGRect rect = CGRectMake(x, y, aRect.size.width, height);
CGContextMoveToPoint(context, rect.origin.x, rect.origin.y + radius);
CGContextAddLineToPoint(context, rect.origin.x, rect.origin.y + rect.size.height);
CGContextAddLineToPoint(context, rect.origin.x + rect.size.width, rect.origin.y + rect.size.height );
CGContextAddLineToPoint(context, rect.origin.x + rect.size.width, rect.origin.y + radius);
CGContextAddArc(context, rect.origin.x + rect.size.width - radius, rect.origin.y + radius, radius, ((0.0f) / 180.0 * M_PI), ((-90.0f) / 180.0 * M_PI) , 1);
CGContextAddLineToPoint(context, rect.origin.x + radius, rect.origin.y);
CGContextAddArc(context, rect.origin.x + radius, rect.origin.y + radius, radius, ((-90.0f) / 180.0 * M_PI), ((180.0f) / 180.0 * M_PI), 1);
CGContextClip(context);
Another weird thing about this problem is it seems to be only effecting the iPhone 5 and 5s, aka 4" screens only
The colour is being set once and is not manipulated after it is being set as far as i can see , any help on why this would be would be apreciated