ios - UITableView Header and footer indent during edit mode -
ios - UITableView Header and footer indent during edit mode -
i have uitableview 3 cell prototypes in storyboard, utilize 1 cell in header section, 1 normal table rows , table footer.
-(uiview *)tableview:(uitableview *)tableview viewforheaderinsection:(nsinteger)section{ static nsstring *cellidentifier = @"header"; uitableviewcell *cell = [tableview dequeuereusablecellwithidentifier:cellidentifier]; //some personalization homecoming cell; }
my problem whenever come in in edit mode of tableview header , footer moving left, cell current editing.
- (void) setediting:(bool)editing animated:(bool)animated { [super setediting:editing animated:animated]; [self.tableview setediting:editing animated:animated]; } - (bool)tableview:(uitableview *)tableview caneditrowatindexpath:(nsindexpath *)indexpath{ homecoming yes; }
in edit mode:
any solution or hints? neither lastly xcode update fixed it.
thank you
solved. had create uiview , utilize in header / footer, , not utilize uitableviewcell.
thanks to
table header views in storyboards and
stick uitableview header view top when creating header in storyboard
ios objective-c xcode uitableview
Comments
Post a Comment