Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
CALayerHost - iPhone Development Wiki

CALayerHost

From iPhone Development Wiki
Revision as of 05:11, 26 October 2014 by Uroboro (talk | contribs) (→‎References)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

CALayerHost is a CALayer subclass which renders another layer's render context. It also allows touches to be sent directly to the process which contains the original CALayer. Touches are delivered to backboardd by IOKit, which then calls the current CAWindowDisplayServer's -contextIdAtPosition: method to retrieve the context ID that the touches should be sent to.

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.

External links