D
D
Dmitry2014-08-06 16:34:11
iOS
Dmitry, 2014-08-06 16:34:11

How to highlight click point on iphone screen?

I need to record a video from the iphone5 screen, I use a reflector, but it doesn’t show where I press my finger if the element is not active. I saw more than one video where the clicks are highlighted with a circle, for example here .
Who knows how this can be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
npalamar, 2015-01-18
@npalamar

First you need to determine the coordinate of the click, for this you can use the hitTest:withEvent: function. First create a view and set alpha to 0. After that, implement an animation that will set alpha to 1 and back, and change the position of this view on the screen (it’s better to even change the position at the beginning and then start the animation). When clicked, start the animation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question