Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6085327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:37:36+00:00 2026-05-23T11:37:36+00:00

In my imageview I create and add new imageviews as subview every time the

  • 0

In my imageview I create and add new imageviews as subview every time the image is tapped twice. Then I’ve added single tap gesture to the newly added subview. When that subview(the new imageview) is tapped once I get navigated to another view controller. But, my problem is I get the latter effect only with the latest added subview. So let’s say I’ve added 5 imageviews. I get navigated away only when I tap the 5th imageview. How can I make this happen no matter which subview is tapped?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:37:36+00:00Added an answer on May 23, 2026 at 11:37 am

    Without seeing the code, I can guess that you are using a GestureRecognizer to detect the tap in the added UIImageView. If that is the case, you can’t reuse the recognizer since it can only be attached to one view. You’ll need to create a new recognizer for each UIImageView you add to your main view.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to download an image, and create an ImageView dynamically and add it
I create a UIImageView as below imageView = [[UIImageView alloc] init]; imageView.image = [UIImage
I want to add ImageView to FrameLayout with Gravity or margins. but FramLayout and
I have added an imageView of size 300*300 into the interface in my ipad
Im very new to this android development.I just started to create a hello world
I've learned how to add a watermark to a pdf. <cfpdf action=addwatermark image=NoteToSelf.png pages=1
So I would like to add a custom imageview to a ProgressDialog: LinearLayout root
I am looking to create a list view which contains a image and 2
i need to create a white separator line with java. I need to add
I am trying to create an image slide show that is similar to this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.