Custom UIView using CALayers disappears after 180º rotation or navigation controller pop
- by Steve Madsen
I have a created a custom UIView subclass that is exhibiting some strange behavior. It is a spinning wheel selector, and for performance reasons it is drawn entirely into two CALayer instances. The bottom layer is the wheel itself, which is rotated using setAffineTransform: according to touches. The top layer is eye candy.
drawRect: is fairly…