ios - Swift / Xcode6: How to change when the UIButton functionality is called after clicking the button -


i'm making application uses stopwatch part of functionality. 1 of components button starts , stops stopwatch. button works fine, action completed once button tapped , released. of now, hold down button , until let go, nothing happen timer. how can change functionality of button performs action on first touch opposed release? functionality i'm seeking of touchesbegan.

in storyboard, open connections inspector button, drag connection touch down action code. delete other connections such touch inside.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -