views:

48

answers:

1

I've tried this, but that doesn't work:

CATransform3D currentTransform = self.layer.transform;
CATransform3D identityTransform = CATransform3DIdentity;
if (currentTransform == identityTransform)
 NSLog(@"the same");

I really woulnd like to compare each single field in the matrix ;) Can I instad compare that somehow as a whole big thing, or do I have to pull out every single value for comparing?

+3  A: 

CATransform3DEqualToTransform

zoul