문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top