iOS 5 UIView drawRect override not working on device
问题 I'm preparing my iPhone app to publish on iOS 5 GM and came across a bug with UIView. When I override the drawRect method on a subclass, the Simulator shows the desired result but when I try to test on an actual device, the drawRect override doesn't have any effect at all. I even placed a logging statement inside a drawRect override and confirmed that it is being called. Has anyone else noticed this problem? Here's a override code I'm using: - (void)drawRect:(CGRect)rect { DebugLog( @"***