CALayer autoresizingMask是否不支持iOS SDK? [英] CALayer autoresizingMask not for iOS SDK?
本文介绍了CALayer autoresizingMask是否不支持iOS SDK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我注意到,iOS SDK上的CALayer并没有autoresizingMask属性。我不确定方法 setFrame:的自定义重载能否与自动调整大小的动画子层一起正常使用。有没有不使用UIView的替代方法?
I noticed, what CALayer, on iOS SDK haven't autoresizingMask property. I'm not sure what custom overloading of method "setFrame:" can work normally with animated sublayers autoresizing. Are there is an alternative without using UIView?
推荐答案
您可以使用calayer的layoutSublayers函数。
You can use layoutSublayers function of calayer.
这篇关于CALayer autoresizingMask是否不支持iOS SDK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文