i've succesfully animated a simple rectangle view on the main screen (using UIView.Animate
) by setting its Transform property, using rotations and translations.
In the end of the animation, i run another animation to put the view in its initial state: i set the transform property to an identity transform.
It works, but instead of starting at the current location, the animation moves abruptly the view by about 50 points, then it moves the object back to its initial position.
I tryed to set some flags: BeginFromCurrentState
, ShowHideTransitionViews
, OverrideInheritedDuration
without success.
Any idea what's going on and how to fix it ?