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

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -