Search code examples
ioscore-animationcalayerquartz-core

CALayer autoresizingMask not for iOS SDK?


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?


Solution

  • You can use layoutSublayers function of calayer.