iphone - how to set the style of the TableView to "UITableViewCellStyleSubtitle" -
How to set the style of TableView to "UITableViewCellStyleSubtitle" so that I can use it to display it in UITABLE as a sub title Can I
This is not the style of UITableView, but UITableViewCell's:
- (UITableViewCell *) TableView: (UITableView *) Table View 1 Cellforoutoundpath: (NSIndexPath *) Index pathway {static NSString * CellIdentifier = @ "cell"; UITableViewCell * cell = [tableView1 dequeueReusableCellWithIdentifier: CellIdentifier]; If (cell == blue) {cell = [[[UTitleViews alloc] initWithStyle: UITableViewCellStyleSubtitle reuseIdentifier: cell identifier] autorelease]; } ... more luggage return room; }
Comments
Post a Comment