iPhone TouchLayer
Simply shows the test layer for the multi-touch screen designed by Apple.
Product page: iPhone TouchLayer
If you want to do something with the touchlayer, it’s easy to create:
struct CGRect rect = [UIHardware fullScreenApplicationContentRect] rect.origin.x = rect.origin.y = 0.0f;
UITouchDiagnosticsLayer* tl = [[UITouchDiagnosticsLayer alloc] initWithFrame: rect]; [tl setTrackTouchEvents: YES]; [tl setDisplayHitRects: YES]; [tl setDisplayTouchEvents: YES]; [tl setDisplayChargeMap: YES]; [self addSubview:tl];
