Open ExistOrLive opened 4 years ago
https://existorlive.github.io/2020/04/28/CALayer-frame.html
CALayer 的 frame 的计算frame 代表图层或者视图在父图层或者父视图中的坐标和范围。UIView的frame属性是直接读取CALayer的frame属性。而CALayer的frame属性并没有关联实例变量,仅是setter和getter方法,是通过bounds,position,anchorPos...
啦啦啦
https://existorlive.github.io/2020/04/28/CALayer-frame.html
CALayer 的 frame 的计算frame 代表图层或者视图在父图层或者父视图中的坐标和范围。UIView的frame属性是直接读取CALayer的frame属性。而CALayer的frame属性并没有关联实例变量,仅是setter和getter方法,是通过bounds,position,anchorPos...