What is the equivalent for setting "identity transform" in 2D space?

For 3D space, I use:

self.layer.transform = CATransform3DIdentity;

      

what does it fit here if I just need a 2d space and want to assign an identity transform? I knew there was something, but I can't find it anymore.

0


a source to share


1 answer


Check this question for a good explanation of CATransform3D and CGAffinetransform (the one you want).



+2


a source







All Articles