PDA

View Full Version : UITableView problem in 3.0 (while editing)




sneha
Nov 3, 2009, 04:02 AM
I am using UITableView (with custom UITableViewCell) in my project.I am having a problem while editing the UItableView.I just want to show the reordering control while editing the UItableView

IN 2.2

It is proper the disclose indicator changes to the reordering control.:)

IN 3.0

It shifts the entire content to right hand side and shows the reordering control :confused:.Because of which ma labels are overlapping each other.

I am attaching the screen shots of the project .

Please assist me asap...

thanks in advance:):)



sneha
Nov 5, 2009, 06:29 AM
well i found out the solution for it ....

just right this method and it works:


- (BOOL)tableView:(UITableView *)tableView shouldIndentWhileEditingRowAtIndexPath:(NSIndexPath *)indexPath
{
return NO;
}:)


if u dont write this method it will not work properly in 3.0 :D