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.