I have the following code in a UIView subclass that will move it off the screen with an animation:
float currentX = xposition; //variables that store where the U
Assigning to a transform will cause the old one to disappear. To return to the original position, assign the identity transform to it.
transform
self.transform = CGAffineTransformIdentity;
(Or better, just change the .frame instead of changing the .transform.)
.frame
.transform