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
Post a Comment