Pergunta

Is there any way to find the touched area/space in the screen (e.g, if you kept your thumb on the screen it needs to return the frame area covered by thumb)?

enter image description here

Foi útil?

Solução

New in iOS 8.0 is the majorRadius property of UITouch that should give you the data you need:

Use the value in this property to determine the size of the touch that was reported by the hardware. This value is an approximation of the size and can vary by the amount specified in the majorRadiusTolerance property.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top