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 09-07-2008, 09:01 AM   #4 (permalink)
TAKEphONE
New Member
 
Join Date: Aug 2008
Posts: 3
TAKEphONE is on a distinguished road
Default

Quote:
Originally Posted by gloubibou View Post
Sorry, my mistake.

Cocoa != Cocoa Touch. You don't go subclassing UIButton to override drawRect:. You just add subviews to an existing UIButton.
Hi,

Can you share how you did it ?

I need to use a button with customisable text - for example - draw a title in bold font, and below it a description in smaller font.

Tried adding subviews but they dont seem to get redrawn...

TIA
TAKEphONE is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,523
Threads: 94,045
Posts: 402,632
Top Poster: BrianSlick (7,978)
Welcome to our newest member, ajlondon
Powered by vBadvanced CMPS v3.1.0

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