CALayers didn't get resized on its UIView's bounds change. Why?
Posted
by Geri
on Stack Overflow
See other posts from Stack Overflow
or by Geri
Published on 2010-03-23T22:43:37Z
Indexed on
2010/03/24
0:43 UTC
Read the original article
Hit count: 344
I have a UIView which has about 8 different CALayer sublayers added to its layer. If I modify the view's bounds (animated), then the view itself gets shrinked (I checked it with a backgroundColor), but the sublayers' size remains unchanged.
How to solve this? I've just started googleing but haven't found any useful. Thanks in advance.
© Stack Overflow or respective owner