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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T18:08:01+00:00 2026-06-03T18:08:01+00:00

I have a dark background with a UITableView on top of it. By default

  • 0

I have a dark background with a UITableView on top of it. By default the section index is semi-transparent with a dark text colour. I’d like to change the text colour for the section index to the same colour as I have made the UITableViewCell title label. I have read around a bit and it seems you have to subclass the UITableView? How do I do 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-03T18:08:03+00:00Added an answer on June 3, 2026 at 6:08 pm

    To solve this I used the following in viewDidAppear:

    for (UIView *subView in [self.view subviews])
       {
            if ([[[subView class] description] isEqualToString:@"UITableViewIndex"])
            {
                [subView performSelector:@selector(setIndexColor:) withObject:[UIColor whiteColor]];
            }
        }
    

    Since it’s not documented, it has to be through a selector.

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

Sidebar

Related Questions

I like a dark background when coding and have customised it to a scheme
Trying to change the selected text background color for an NSTextField (we have a
I have a main activity where users can change (via preferences) the background colour
I have a menu div which has a dark background. Inside it, I have
alt text http://img179.imageshack.us/img179/2047/iphonetableview.png I have a UITableView within a nib file. It works perfectly
In Emacs, I'm using a color scheme with a dark background and light text.
I have a UITableView in my project with rows being initialised as default UITableViewCell
I have a nice script which lets you change the background color of a
I have a UITableView with default (light gray) separator lines. The last row/cell in
I have discovered some problems when I run a page with dark background and

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.