tableview - ios - makes appear all cell delete button by an action -
tableview - ios - makes appear all cell delete button by an action -
i have table view (filled customs cells) , thought have tabbar button (such "edit button"). pressing on it, in row, button cancell appear. possible?
you can create code button (you know... uibutton* button = [uibutton alloc]init];
) in cell , set hidden = yes
, add together bool
check if "edit button" pressed, lets name bool editactive
, when button pressed check editactive
, if no
hidden
value of button no
, reload table [yourtableview reloaddata]
, otherwise, if editactive = yes
, must hide "cancel button" in cell , 1 time 1 time again utilize [yourtableview reloaddata]
ios tableview
Comments
Post a Comment