views:

84

answers:

1

Hi

I would like to get access to the area covered by a finger for each touch event on an IPad.

Every touch event will result in a coordinate pair X and Y independent of how big the finger and consequently the touch area is that triggered the event.

I was wondering if there is a way to get the area data which triggered the touch event e.g. size or coordinates NOT

Any help is much appreciated.

Thanks in advance for you answer or redirects,

Christian

A: 

There is no public API for this. A private API exists in UITouch:

@property(assign, nonatomic, setter=_setPathMajorRadius:) CGFloat _pathMajorRadius;

but using this on AppStore will cause your app be rejected. See my answer in Is there any way at all that I can tell how hard the screen is being pressed for the usage of this property.

KennyTM
Hey KennyTM,many thanks for this and the link to the other thrad, that is exactly what I was looking for. Too bad that it gets rejected suns like Apple, but I would be using it for a research project.I ll give it a crack.Cheers
Christian