Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-14-2009, 09: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
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,208
Threads: 38,991
Posts: 171,022
Top Poster: smasher (2,569)
Welcome to our newest member, JDBurgie
Powered by vBadvanced CMPS v3.1.0

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