1

I'm aware that under iOS6, a UIView's CALayer is automatically unloaded and freed in low memory conditions, instead of the views themselves being unloaded. I love this new feature, so much easier to deal with.

However, just one corner-case i'd love clarification on: If i have a UIScrollView with a lot of child views, under low memory conditions, are the views that are scrolled out of the visible area eligible for layer unloading?

4

1 に答える 1

1

I would assume so, yes.

And it's the bitmap of the CALayer that's actually cleaned up. Check out this blog.

于 2012-12-17T00:51:29.467 に答える