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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:13:36+00:00 2026-06-03T08:13:36+00:00

I have some cells in a table view that ordinarily aren’t selectable. The user

  • 0

I have some cells in a table view that ordinarily aren’t selectable. The user has to use the detail disclosure accessory to push a new controller with the details of the item.

However, on returning to the table view, I would like to highlight the row so that it is clear where s/he came from. To achieve this, I temporarily set the selectionStyle to blue, select/deselect the row, and then set the selectionStyle back to none.

However, because the cell returns to selectionStyleNone immediately, the end result is a gray select/deselect instead of the blue one.

1) How can I delay this setting of the selectionStyle until the deselect is completed?
2) My cell will temporarily selectable for the fast fingered in the meantime – how might I avoid this?

  • 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-03T08:13:38+00:00Added an answer on June 3, 2026 at 8:13 am

    You can use a simple NSTimer to set the selection style to none after a set time frame like so…

    [NSTimer scheduledTimerWithTimeInterval:1.0f
                 target:self
                 selector:@selector(methodToSetSelectionStyleToNone:)
                 userInfo:nil
                 repeats:NO];
    

    …or you can use a custom animation to fade it out gracefully

    [UIView animateWithDuration:1.0f delay: 0.0f
        animations:^{
            // set your selectionStyleNone here
            cell.selectionStyle = UITableViewCellSelectionStyleNone;
        }
        completion:^{
    
        }
    ];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some custom table view cells that takes a while to draw, so
I have a table view that I want to delete some of the cells
I have a table view that contain cells... some have images and some do
I have an access table which has some cells as blank ( no data
I have several parts in my app where I use custom table view cells.
I have an app I am working on, that has a table view with
I have a table view with cells that can be deleted. When a cell
I have a grouped table view that utilizes two different custom table cells. When
I have a view-based tableview that needs to have the following functionality: Has some
I have a table, containing rows, contaning cells - and some of them contain

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.