Skip to content

Instantly share code, notes, and snippets.

@adow
Created February 5, 2014 05:46
Show Gist options
  • Save adow/8818017 to your computer and use it in GitHub Desktop.
Save adow/8818017 to your computer and use it in GitHub Desktop.
取消CALayer上默认的Core Animation
[CATransaction begin];
[CATransaction setValue:(id)kCFBooleanTrue forKey:kCATransactionDisableActions];
self.transform=WKFlipCATransform3DPerspectSimpleWithRotate(rotateDegree);
...
[CATransaction commit];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment