I have a complex UIView
with lots of custom subviews, and I need to make a visual copy of it as a new UIView
appearing with that rasterized content.
So far I do it by calling renderInContext:
to get a new UIImage
, but maybe you know a better way.