How can I add Core Animation framework to my Xcode project?

给你一囗甜甜゛ 提交于 2019-12-10 01:10:22

问题


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.


来源:https://stackoverflow.com/questions/729094/how-can-i-add-core-animation-framework-to-my-xcode-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!