I ran into a behavior I don't understand yet. My code basically does this:
Create view with some custom UIView content (Views with drawRect), this view has no superview yet, so the Quartz subsytem dosen't call it's [layer display].
Then i do a renderInContext of the view.
The problem is that sometime the view is rendered perfectly, sometimes it does not render the subviews and it does not call their drawRect.
Why does it happen? I'm missing something. I actually know that the same layer can't be rendered simultaneously. But this view is not rendered on the main thread since it doesn't have a superview.
Thank you much