Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about gesture-recognition

Read more about gesture-recognition

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - gesture-recognition

Why doesn't my UITapGestureRecognizer call its func?

I want things to happen when I tap or double-tap my programmatically declared UILabel, but nothing happens when I press it. Here's my code, which should print "HR_tap" when I tap the heart_r...
test-img

Doug Null

ios

swift

uilabel

uitapgesturerecognizer

gesture-recognition

Votes: 0

Answers: 1

Latest Answer

It works as coded above. Problem was "cock pit error": I was tapping the wrong UILabel. I had one label for the value being displayed, and one for the title of the value. I mistakenly added...
test-img

Doug Null

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved