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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:12:11+00:00 2026-05-28T01:12:11+00:00

I have a UITableViewCell that I have applied CABasicAnimation to when the user does

  • 0

I have a UITableViewCell that I have applied CABasicAnimation to when the user does a long press on the cell. If they do this, the cell pulses with color. This works well, but the problem is that when that cell is scrolled out of view and then back it is no longer pulsing. I am assuming this is because that cell has been recycled/reused and doesn’t know it used to be pulsing.

I have tried to store the indexPath of my pressed cell and then pulse the cell again if that scrolls back into view, but it seems to apply it to another cell further down, so that method isn’t foolproof.

How can I make sure that this specific cell doesn’t get reused or changed even when it is scrolled out of view?

  • 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-28T01:12:11+00:00Added an answer on May 28, 2026 at 1:12 am

    So all I needed to do was store the pressed indexPath in a property then when cells were scrolled back into view I compare my “saved” indexPath with the current. If they match then I start the pulse animation again:

    // Should we animate the cell?
    if (self.inZSEditing && ([self.pressedIndexPath compare:indexPath] == NSOrderedSame)) {
        [self enterEditingModeForType:ZSAssetPickerTypeMove];
    }//end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom UITableViewCell that I use like this: AppTableCell *cell = [tableView
Similar to this question I have a custom subclass of UITableViewCell that has a
I have a class A that inherits UITableViewCell (to customize a table cell). It
I have customized UITableViewCell (Static Content Loaded from nib). This cell contains one UILable
Hi I'm trying to have my uitableviewcell rendered inactive so that a user can't
I have a UITableViewCell that I've added a gradient to by using CAGradientLayer. This
I have a UITableViewCell that is being instantiated (in the cellForRowAtIndexPath method) with [cell
I have 2 classes for a UITableViewCell that show different data but they use
I have a UITableView with UITableViewCell s that are swipable. When a cell is
I have a UITextField that I put into a UITableViewCell that I put into

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.