Symbol CATransform3DMakeRotation not found

I turned on:

#import "QuartzCore/QuartzCore.h"

but when I try to build, I get the error mentioned in the header. Is there anything else I need to do to tell Xcode to enable the framework?

The code in which I use it:

CALayer *layer = paperView.layer;
CATransform3D rotation = CATransform3DMakeRotation(1, 0, 0, 1);
+3
source share
2 answers

I got his job:

In the Groups and Files panel on the left:

Right-click Frameworks β†’ Add β†’ Existing Frames

and add QuartzCore.Framework

+4
source

Try adding the CoreGraphics.framework project to the project.

Right-click Frameworks β†’ Add β†’ Existing Frames.

0
source

Source: https://habr.com/ru/post/1712362/


All Articles