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

  • SEARCH
  • Home
  • 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 7842201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:15:56+00:00 2026-06-02T16:15:56+00:00

I created a lot of Views and Buttons, then i created ISwipeGestureRecognizer graphically. And

  • 0

I created a lot of Views and Buttons, then i created ISwipeGestureRecognizer graphically. And added a lot of views to recognizers “Referencing Outlet Collection”. And swipe gesture works on all my views. How is it possible? Storyboard automatically creates different SwipeRecognizers for every connected UIView?

I can’t add more views programmatically, why?

  • 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-06-02T16:15:58+00:00Added an answer on June 2, 2026 at 4:15 pm

    I have never tried what you describe with the Storyboard, so I cannot answer directly, but I can suggest a way to verify whether multiple gesture recognizers are created: in your gesture action method, add an NSLog statement to log the address of the recognizer (this is the first argument that is passed to the action method). In this way, you will verify whether the same recognizer is reused.

    Also, log the recognizer.view property to see what is going on under the hood. If you get the same result for all the cases, then it can be optimistically inferred that the UISwipeRecognizer is not using internally its view property for anything and that that information is stored only for your action callback to be able to access it.

    What would be a mystery is that you got only one gesture recognizer and different values for the view property. This would imply that the property value is changed on the fly, but I would not be able to explain how.

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

Sidebar

Related Questions

I'm developing a WinForms c# 3.0 application. Our designer created quite a lot of
I created an android app to display a lot of images some of them
A lot of JavaScript libraries have user interface widgets. Usually they are created after
In my app i need to show dialogs for a lot of buttons. Therefore
I have created a gallery, and it displays a lot of images in a
I have a button in an app labelled How to search, the referencing outlet
I have created an application with multiple views. I have my main view (ViewController.h)
I have a lot of buttons that i would like to give a title
I have a form which I create manually (a lot of JavaScript in it...).
I create some panel with a lot of components as images text ... .

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.