I have a UIView subclass that I am doing some custom drawing in. When drawRect:(CGRect)rect is getting called rect.size is either (64, 63) or (63, 64); self.frame.size is (64, 64).
I have multiple instances of this subclass, most of which get the expected (64, 64) size for the drawRect parameter.
What are conditions that may cause some of these subclasses to have modified drawRect bounds but not others?
Additional tidbits:
- self.opaque is NO
- self.transform does vary; I use it to rotate the UIView in 90-degree increments, but rotating the view does not change
rect.sizeon subesquent calls todrawRect