Answer the question
In order to leave comments, you need to log in
How to execute a function while a key is pressed in Swift?
Task: there is a button, you need to perform a certain action, for example, print a message while it is pressed. That is, they clamped - the execution of the function began, released - the execution is interrupted. How to implement it? Thanks in advance)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question