[CATransaction begin];
[CATransaction setDisableActions: YES];
// Your code here
[CATransaction commit];
Disable rotating animation when using CATransform3DRotate
-
01-07-2022 - |
Domanda
I'm trying to use CATransform3DRotate
to rotate a UIView/UIImageView on screen but it displays some sort of rotation animation when I apply the transformation to the View. Is there any way that I can disable this and just get the final result without the intermediate effect?
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow