Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 04-23-2010, 09:51 PM   #6 (permalink)
superstec
Registered Member
 
Join Date: Jan 2010
Posts: 11
superstec is on a distinguished road
Default

Quote:
Originally Posted by losingSkillz View Post
never mind guys, i think i figured it out:
this:
Code:
[myButton setTitleColor:[UIColor colorWithRed:100.0 green:100.0 blue:100 alpha:1.0] forState: UIControlStateNormal];
should be this:
Code:
[myButton setTitleColor:[UIColor colorWithRed:100/255 green:100/255 blue:100/255 alpha:1.0] forState: UIControlStateNormal];
I have been trying to get the values for Bubblegum to work for a button. This code you posted should work but it doesn't react as expected to the value given for it on List of colors - Wikipedia, the free encyclopedia.

It just appears as white just wondering if you know off hand why it may not be working.
superstec is offline   Reply With Quote
 

» Advertisements
» Online Users: 402
18 members and 384 guests
baja_yu, bignoggins, chemistry, Domele, Duncan C, firecall, HowEver, ilmman, jaychoupham, jbro, Jenfrag, Karl6669, krisk, matador1978, n00b, NSString, Oral B, SuperDietGenius
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,559
Threads: 94,079
Posts: 402,742
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Jenfrag
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:18 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.