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 8474917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:45:16+00:00 2026-06-10T17:45:16+00:00

I am using UIPanGestureRecognizer to drag a Cell. The problem I face is to

  • 0

I am using UIPanGestureRecognizer to “drag” a Cell. The problem I face is to how identify the touched Cell? The didSelectRowAtIndexPath won’t work for me because the user is actually panning from the cell and not selecting it. Does anyone have any suggestion? Thanks!

  • 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-10T17:45:17+00:00Added an answer on June 10, 2026 at 5:45 pm

    If you add the gesture recognizer to the UITableView, then in your gesture recognizer target do this:

    CGPoint locationOfPan = [recognizer locationInView:self.tableView];
    NSIndexPath indexPath = [self.tableView indexPathForRowAtPoint:locationOfPan];
    

    you can then get the cell from the table view

    UITableViewCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am facing problem with UIPanGestureRecognizer. suppose i am adding 10 button dynamicaly using
i want to draw the paths an user draws in the screen using UIPanGestureRecognizer
I'm using a UIPanGestureRecognizer to recognize horizontal sliding in a UITableView (on a cell
I am using a UIPanGestureRecognizer on several card-like views to let the user move
I am doing some drag and rotation calculations using UIPanGestureRecognizer. The rotation angle is
Is it possible to rotate a view using a UIPanGestureRecognizer? I would like similar
I have a UIView object that can be dragged around using UIPanGestureRecognizer, but I
I have a small imageView that moves on the screen using the UIPanGestureRecognizer ,
How do i set the panning off when the other object is currently using
I am using a UIPanGestureRecognizer to allow my UITableView to be dragged around. I

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.