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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:19:13+00:00 2026-05-25T19:19:13+00:00

If one is using UIbuttons, Uibuttons background image/colour can be set with property UIControlStateHighlighted.

  • 0

If one is using UIbuttons, Uibuttons background image/colour can be set with property UIControlStateHighlighted.

[UIButton setBackgroundImage: UIImage forState:UIControlStateHighlighted];

I want similar property for UIsegmentedControl. If any of these segmented bar is pressed I want to change colour of that bar only when it is pressed. Colour should get back to default when that bar is released. May be I am missing something obvious but is there any property of UIsegmentedControl ?.

thanks for any help in advance..

  • 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-25T19:19:14+00:00Added an answer on May 25, 2026 at 7:19 pm

    Even i was trying to do same thing and this is not possible, i tried all the way, so i created two buttons with image and put together(so feel like segmented button).

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

Sidebar

Related Questions

I have an application where I initially set a UIButton's background image, and then
While using UIVIEW I put an image to the background and added a UIBUtton,
OpenGL. Let's say I've drawn one image and then the second one using XOR.
I have one UIImageView with a UIButton partially overlapping it. I want the user
What I Want: A border indicating if a UIButton is selected or not. Background:
Query 1: I'm using MKMapKit in which I want to display two location one
I'm in a position where I'm the only one using git, everybody else is
I was reading some switch statements and noticed one using endswitch; . Why or
If I have 10 tabs opened, I have to close each one using :q
ADDED: This question is now, I believe, subsumed by this one: Using GNU Screen

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.