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 06-17-2008, 01:59 AM   #5 (permalink)
turinreza
New Member
 
Join Date: Apr 2008
Posts: 53
turinreza is an unknown quantity at this point
Default Re: SMS balloon cell??

Quote:
Originally Posted by javid.alimohideen
Finally, I was able to figure out how to draw a balloon cell as a background for my table view cell. If anyone is looking for code it is very sraightforward. I have attached a balloon image incase you need one.

Code:
-(void)drawRect:(CGRect) aRect {
   UIImage* balloon = [[UIImage imageNamed:@"balloon.png"] stretchableImageWithLeftCapWidth:15  topCapHeight:15]; // you need to have the .png image, it's not a system one.
  [balloon drawInRect: aRect];
}
how did you attach it to a uitablviewcell?
turinreza is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,636
Threads: 94,101
Posts: 402,810
Top Poster: BrianSlick (7,990)
Welcome to our newest member, samdanielblr
Powered by vBadvanced CMPS v3.1.0

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