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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:53:54+00:00 2026-05-23T00:53:54+00:00

I have a tableView with more than one section in it. For applying a

  • 0

I have a tableView with more than one section in it. For applying a color on each section’s outline I am using the following code in viewDidLoad:

[tableView setSeparatorColor: [UIColor blueColor]];

Now, I need to apply a customized color in the section outline for which i am using:

[tableView setSeparatorColor: [UIColor colorWithRed: r green: g blue: b alpha:1]];

But it shows white color instead. I am unable to use this customized color. Plz help!

o_O

  • 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-23T00:53:54+00:00Added an answer on May 23, 2026 at 12:53 am

    Please, be sure that the r, g and b variable are floats in the range [0,1]. Then everything should work fine.

    Edit

    To be able to use RGB values you should change your code this way:

    [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1]
    

    so that you can set r, g and b in the [0,255] range.

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

Sidebar

Related Questions

I have more than 3 views and also one window view ( pdfReader.xib nib
I'm working on a tableview, which displays more than one line of text in
I have a tableView and when the user is selecting one of the cells,
I have a tableView:didSelectRowAtIndexPath: where I create a ViewController-Instance each time an item is
I have a Tableview on AppDelegate That calls a SecondView (dvController) when DidSelectRowAtIndexPath using:
I have a UITabBarController with more than 5 UITabBarItems so the moreNavigationController is available.
I have a table view with more than 1000 cells (I display about 10
I have a tableview in which I have implemented Load More Records feature. But
How would I make an NSCell with more than one UI element in it
I have 2 questions. 1.) I have a tableView, and it will have more

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.