CALayerHost

From iPhone Development Wiki
Revision as of 01:18, 19 February 2013 by IKy1e (talk | contribs) (Very minor typo)

CALayerHost is a CALayer subclass which renders another layer's render context. Another thing it does is to allow touches to be passed directly to the process which is running the layer it is showing. The touches aren't forwarded, they never get registered in the process running the CALayerHost.

Signature @property(assign) unsigned contextId;
Available in 2.0 –

Setting this property makes the CALayerHost display the context of the layer that has that contextId.

References