1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

UITableView problem in 3.0 (while editing)

Discussion in 'iPhone/iPad Programming' started by sneha, Nov 3, 2009.

  1. macrumors newbie

    #1
    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:):)
     

    Attached Files:

    • 2.2.png
      2.2.png
      File size:
      28.2 KB
      Views:
      13
    • 3.0.png
      3.0.png
      File size:
      23.9 KB
      Views:
      16
  2. macrumors newbie

    #2
    well i found out the solution for it ....

    just right this method and it works:

    Code:
    - (BOOL)tableView:(UITableView *)tableView shouldIndentWhileEditingRowAtIndexPath:(NSIndexPath *)indexPath
    {
    	return NO;
    }:)
    
    if u dont write this method it will not work properly in 3.0 :D
     

Share This Page