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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-14-2009, 10:13 PM   #6 (permalink)
wickersty
New Member
 
Join Date: Jun 2009
Posts: 16
Default

I finally nailed this and I know people are experiencing the same difficulties, so let me share what I've done:

Code:
	CGRect LabelFrame = CGRectMake(120, 33, 150, 75);
	UILabel *lblTemp;

	lblTemp = [[UILabel alloc] initWithFrame:Label2Frame];
	lblTemp.numberOfLines = 0;
	lblTemp.lineBreakMode = UILineBreakModeWordWrap;
	
	[cell.contentView addSubview:lblTemp];
This resulted in a multi-line UILabel inside my Table View Cell.

Hope this helps someone.

Jeff
wickersty is offline   Reply With Quote
 

» Advertisements
» Online Users: 757
17 members and 740 guests
ADY, AppAnnex, at0m87, chaseacton, Dalia, fgreg2692log, KarlJay, Morrisone, mystic.purple, PetarPM, smarkmee, suresk, thutrangiphonedevsdk, Touchmint, Vineesh, yufengts
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,631
Threads: 89,149
Posts: 380,345
Top Poster: BrianSlick (7,110)
Welcome to our newest member, fgreg2692log
Powered by vBadvanced CMPS v3.1.0

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