How can I use custom animations for onOrderOut in Core Animation?

后端 未结 2 1514
暖寄归人
暖寄归人 2021-01-05 01:04

Core Animation allows for custom animations by implementing the actionForKey method in your CALayer based class:

- (id)actionForKey:(NSString         


        
2条回答
  •  醉酒成梦
    2021-01-05 01:27

    Have you verified that your method is being called with key as @"onOrderOut" and that your method is returning the correct animation?

提交回复
热议问题