Animate position and rotation in iOS.