How can I add Core Animation framework to my Xcode

2019-04-20 00:43发布

问题:

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:

  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.