How to show disclosure indicator while cells are in edit mode?

Up vote 0 down vote favorite share g+ share fb share tw.

I have a UITableView that can be edited. I am displaying cells as such: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = tableView dequeueReusableCellWithIdentifier:CellIdentifier; if (cell == nil) { cell = UITableViewCell alloc initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier autorelease; cell. AccessoryType = UITableViewCellAccessoryDisclosureIndicator; } // Configure the cell... STWatchList *mySTWatchList; mySTWatchList = items objectAtIndex:indexPath.

Row; cell.textLabel. Text = mySTWatchList. WatchListName; return cell; } When the user is editing, I would like to show the disclosure indicator.

How can I accomplish this? Iphone objective-c cocoa-touch uitableview uitableviewcell link|improve this question asked Jul 19 '10 at 17:15Sheehan Alam5,002360179 91% accept rate.

If (indexPath. Row==0) { cell = UITableViewCell alloc initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:CellIdentifier autorelease; cell. SelectionStyle = UITableViewCellSelectionStyleGray; cell.

EditingAccessoryType = UITableViewCellAccessoryDisclosureIndicator; } else { cell = UITableViewCell alloc initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier autorelease; cell. SelectionStyle = UITableViewCellSelectionStyleNone; }.

Disclosure indicator is shown at right places. But when I am displaying in sections, while scrolling fast up/down ...show disclosure indicator.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions