tags:

views:

247

answers:

1

i want to change the UITableViewCellStyleSubtitle default style to support one textLabel and two detailTextLabel (it only support one), how do i customzie it ?

LazyTableImages - sample code link: http://developer.apple.com/iphone/library/samplecode/LazyTableImages/index.html

THX :-)

+2  A: 

.i want to change the UITableViewCellStyleSubtitle default style to support one textLabel and two detailTextLabel (it only support one), how do i customzie it ?

Instead of using a pre-built style, add UILabel instances as subviews to the cell's contentView property. You can add as many labels as you like, wherever you like, looking however you want them, by simply adding subviews to contentView.

Alex Reynolds
Thanks! anyone for the first question?
omri