What is the relationship between UIView.frame and CALayer.frame? (both before and after CATransform3D)

How CALAyer.frameis connected with it UIView.frame? (in this case specifically a UIImageView.frame).

Given that the values ​​of a are CALAyer.framepotentially different from UIView.frameafter the conversion CAtransform3D, do they no longer have a relationship? (and, subsequently, should I worry more about managing the sizes of mine CALayer, not mine, UIImageViewin my supervisor?).

+5
source share
1 answer

If you work with Core Animation and layers, you should focus on the following properties CALayer:

  • Position
  • Borders
  • anchorPoint
  • transform

Apple Technical Q & A QA1620 :

: CALayer, . ?

A: CALayer, . ?

frame CALayer , , , . , , .

+7

All Articles