iphone - Wrong coordinates after rotating, scaling and moving one image and sending the transform to other ViewController -



iphone - Wrong coordinates after rotating, scaling and moving one image and sending the transform to other ViewController -

i'm manipulating image (scale, position, rotation). 1 time that's done, user redirected viewcontroller i'm loading same image in same position.

i'm sending transform string 1 viewcontroller other:

nsstringfromcgaffinetransform(self.myimage.transform)

but image not in right position, it's moved.

i've tried send bounds, center, frame of image along transform, i'm not getting identical position, scale , rotation of original image.

thanks in advance!

iphone ios objective-c rotation transform

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -