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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:39:50+00:00 2026-05-24T05:39:50+00:00

When I select a custom made cell it hides everything in the cell and

  • 0

When I select a custom made cell it hides everything in the cell and shows only the selection color.

enter image description here

how can I just darken the background a bit when selected?

  • 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-24T05:39:51+00:00Added an answer on May 24, 2026 at 5:39 am

    Alternatively to overriding setHighlighted:, you can use the view makeup of a table view cell to your advantage.

    When iOS applies the highlight, it is actually using the selectedBackgroundView property of each table view cell. So, you can make a custom UIView (style it however, such as giving it your desired background colour) and set that as the selectedBackgroundView property (cell.selectedBackgroundView) of the table view cell. Do this in cellForRowAtIndexPath:, when customising the other details of your cell.

    This will mean you take control of the selection yourself; the iOS default gradient will not be applied.


    It is also possible to change the selectedBackgroundView via Interface Builder. In the same nib as your custom cell, create another view in the nib – not a subview of the custom table view cell – and wire that up with the `selectedBackgroundView’ outlet of the custom table view cell.

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

Sidebar

Related Questions

I currently have a web site where users can select a custom theme. After
Can Django admin site select entries by a custom date range, i.e. using two
Can I name a custom column in the SELECT statement and reference that in
I'm working on a custom dropdown that I made, just wondering if I could
In my model I've made this custom sql query : SELECT training_courses.id, training_courses.training_id, training_courses.course_id,
I have a custom made ASP control which is based on a select (drop
I want to make custom select from the database table using Linq. We use
I am trying to write a custom select statement in Hibernate using the getHibernateTemplate()
The string passed to my custom function is the following: SELECT key FROM ubis
My form has a custom element like below, created using custom ajax: <select jwcid=testtest

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.