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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T14:22:31+00:00 2026-06-03T14:22:31+00:00

I used the code found here to color my buttons. I’ve created some methods

  • 0

I used the code found here to color my buttons. I’ve created some methods similar to those in the code for default coloring such as orangeColor, greenColor and so on.

When My view loads I set the color of my UIButtons, and when one is pressed I want to change the color of the buttons to reflect their change in function, I do the following (considering the buttons are a different color):

[self.recordPlayButton greenColor];
[self.recordPlayButton setNeedsDisplay];
[self.stopRecordButton orangeColor];
[self.stopRecordButton setNeedsDisplay];

But the color of my buttons remains the same, any idea why this happens?

EDIT: another odd thing I just noticed is that the highlight color for the button changes but not the normal color.

  • 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-03T14:22:33+00:00Added an answer on June 3, 2026 at 2:22 pm

    http://code.google.com/p/iphonegradientbuttons/issues/detail?id=4

    If you look at the Wiki for the gradient buttons, you can see that it’s actually defect in iOS5. Have you tested if the demo works on your device?

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

Sidebar

Related Questions

I used some code I found for a sliding panel, and basically it works
I used the favicon-code I found here to retrieve the favicon of the site
Used code I found on SO to use the COM based Acrobat Reader to
I used this code in my Android application: import org.apache.http.client.methods.HttpPost; ... HttpClient httpclient =
I've used the FileHelpers.dll library found here in the past with success. In this
I'm using the source code found on this site here: http://webtint.net/tutorials/5-star-rating-system-in-php-mysql-and-jquery/comment-page-1/#comment-2562 A fantastic resource,
I'm trying to create something similar as this code found at the boost.asio examples.
I have used code like this: http://msdn.microsoft.com/en-us/library/dw70f090.aspx to access database before when working in
This code used to return my local ip address as 192.xxx.x.xxx but now it
This code used to work but doesnt any more. i used a breakpoint, 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.