我想知道CABasicAnimation中使用的所有可能的键是什么

像这个:

CABasicAnimation *imageRotation = [CABasicAnimation animationWithKeyPath:@"transform.rotation"];

这会导致旋转...在哪里可以找到所有可能的 key ?
并感谢向前

最佳答案

您是否考虑过查找CABasicAnimation的类引用及其对应的父类(super class)?

CABasicAnimation:
https://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/CABasicAnimation_class/Introduction/Introduction.html

CAPropertyAnimation
https://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/CAPropertyAnimation_class/Introduction/Introduction.html#//apple_ref/occ/cl/CAPropertyAnimation

动画
https://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/CAAnimation_class/Introduction/Introduction.html#//apple_ref/occ/cl/CAAnimation

10-08 16:58