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

  • Home
  • SEARCH
  • 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 156559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:20:56+00:00 2026-05-11T10:20:56+00:00

I am having some trouble with my segmentcontrol bar. I am trying to make

  • 0

I am having some trouble with my segmentcontrol bar. I am trying to make it a gray/black color with this:

segmentControl3.tintColor = [UIColor colorWithRed:0.60 green:0.60 blue:0.60 alpha:1.0];

Under my getSegment action, and that works just fine when I click it. But my problem is that the load color is the standart blue one, and I can’t seem to change that anywhere… I have tried to place it under viewDidLoad, but that diden’t seen to work. I have read trough the UICatalog example, but in there all is declared in code. Is that the only way to get it right?

Thanks

  • 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. 2026-05-11T10:20:57+00:00Added an answer on May 11, 2026 at 10:20 am

    You should be able to use tintColor to change the color of your control; try placing it in viewWillAppear:. Also make sure that your outlet is properly set. I use this in several applications.

    You can use [UIColor colorWithWhite: 0.6 alpha: 1.0] to save a little code

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

Sidebar

Related Questions

Having some trouble with this code. Trying to return a tuple of tuples (coordinates)
having some trouble trying to figure this out, complete novice when it come to
Im having some trouble writing a getstring function, this is what I have so
Im having some trouble with joining two tables. This is what my two tables
I'm having some trouble with my code, I am trying to test if a
Having some trouble figuring this one out. If both the checkbox in the second
Having some trouble finding the sum of a 2D vector. Does this look ok?
Having some trouble trying to put together a page where images are placed properly.
Having some trouble getting this query to work correctly. mysql_query(DELETE FROM `table` WHERE `id`
Im having some trouble targeting my buttons in ie7. Doesnt this work with an

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.