问题
I just can't find that framework for adding it. Any ideas?
回答1:
Add the QuartzCore framework. It contains CoreAnimation.
回答2:
Also, make sure that you do an
#import <QuartzCore/QuartzCore.h>
before using any Core-Animation-specific classes, etc.
回答3:
You need to add the QuartzCore framework to your project.
回答4:
- Click on your project in project navigator.
- Click on the target.
- Click on "build phases" tab.
- Expand "Link Binary with Libraries".
- Click "+" to add.
来源:https://stackoverflow.com/questions/729094/how-can-i-add-core-animation-framework-to-my-xcode-project