views:

112

answers:

0

Did anyone else encounter this problem?

I have a 300 x 300 pixel view. When I rotate this with core animation, the view not only rotates but also "pulses" in and out with a scaling effect. Hard to describe. But it's very, very ugly. Trust me.

The "scale pulse" happens occasionally, but especially when the animated rotation delta is not too big. If it's just like 10 degrees or so, the pulse is sometimes very strong. Like a breathing lung or so.

I am not doing any scaling stuff, not even changing sizes of the view or anything like that. the only thing I touch is the transform.rotation.z of the layer, to rotate it.

Does anyone else know about this bug in Core Animation?

I figured out the only way to get around this was to make my own animation mechanism with timer. unfortunately not so smooth like core animation could be, but at least no occasional scaling pulse effect.

The scale looks like a central zoom-in and zoom-out. It always remains in the correct scale after all, but it's very annoying.