For 3D space, I use:
self.layer.transform = CATransform3DIdentity;
what corresponds here if I just need 2d space and want to assign the identity transform? I knew there was something, but I can't find it anymore.
For 3D space, I use:
self.layer.transform = CATransform3DIdentity;
what corresponds here if I just need 2d space and want to assign the identity transform? I knew there was something, but I can't find it anymore.
Check this question for a good explanation of CATransform3D and CGAffinetransform (the one you need).