cocoa touch - iOS CGAffineTransform odd behavior -
cocoa touch - iOS CGAffineTransform odd behavior -
i trying animate view 1 position another, using code below, animation not smooth. there "pop" in animation. moves before moving downwards example.
can allow me know if there wrong setup?
[uiview animatewithduration:0.2 animations:^{ [_label settransform:cgaffinetransformmake(1, 0, 0, 1, 0, 88)]; transformstate = 1; }];
thanks reading!
if have min please download simple test project, can see issue, , if do, much taking time.
http://owolf.net/uploads/stackoverflow/transformtest.zip
your view controller has autolayout turned on in storyboard, , autolayout can interact transform in unexpected ways.
either turn autolayout off, or consider using autolayout constraints animation.
cocoa-touch uiview cgaffinetransform
Comments
Post a Comment