How can I add Core Animation framework to my Xcode

2019-04-20 00:10发布

I just can't find that framework for adding it. Any ideas?

4条回答
Animai°情兽
2楼-- · 2019-04-20 00:54

Add the QuartzCore framework. It contains CoreAnimation.

查看更多
等我变得足够好
3楼-- · 2019-04-20 00:54

You need to add the QuartzCore framework to your project.

查看更多
淡お忘
4楼-- · 2019-04-20 00:57

Also, make sure that you do an

#import <QuartzCore/QuartzCore.h>

before using any Core-Animation-specific classes, etc.

查看更多
来,给爷笑一个
5楼-- · 2019-04-20 01:04
  1. Click on your project in project navigator.
  2. Click on the target.
  3. Click on "build phases" tab.
  4. Expand "Link Binary with Libraries".
  5. Click "+" to add.
查看更多
登录 后发表回答