I\'m trying to drag a CALayer in an iOS app.
CALayer
As soon as I change its position property it tries to animate to the new position and flickers all over the
You want to wrap your call in the following:
[CATransaction begin]; [CATransaction setValue: (id) kCFBooleanTrue forKey: kCATransactionDisableActions]; layer.position = CGPointMake(x, y); [CATransaction commit];