i'm trying create reset button multiple draggable images have in multiple arrays return original places. i've looked @ updating center of each image original location , looked trying implement viewdidload. neither of these worked great me , i'm not sure if theres better way. advice appreciated.
assuming, a.) you're using uiimageview (or subclass of); b.) don't have auto layout constraints on image views; c.) don't have transforms, changing center
property should work. 'free' effect of having them animated move new locations. happens when change center
properties?
if you're setting transform
property translate them drag them around, set transform cgaffinetransformidentity
.
Comments
Post a Comment