Hello all - I’m making my first app, and I’d like to implement an ‘info’ button that simply displays a popup/bubble message (next to it) when a user taps on it, but which disappears when the user releases their tap (i.e. lifts up their finger off from the screen).
It’s just an informative popup of info, that is to be displayed only whilst the user has their finger on the ‘info’ button.
I can get the popup to appear immediately on touch by using a ‘touch down’ event (by Ctrl+dragging the button to the source code to form an ‘IBAction’ link and selecting ‘touch down’ as the event type), but I’d like to be able to perform an action (i.e. to make the popup disappear) when the user lifts off their finger from the button/screen).
Has anyone got any cunning ideas?
(P.S. I’m relatively new to coding… been learning for 2-3 months part time)