objective c - how to replace any view in UITableViewCell? (iphone) -
objective c - how to replace any view in UITableViewCell? (iphone) -
i have made tableview programatically.
in every cell have made button in that..
now want when press button of first cell..that cellone should replaced new view.
can tell me how that?
i mean when press button of cell no 1...only particular cell should replace new view not other cell
add flag in datasource corresponding each row (e.g in array utilize populate table)...
in cellforrowatindexpath method conditional cell content population.. i.e. if flag corresponding row set, add together view else add together button...
when press button, set flag corresponding row... , reload table view...
its pretty straight forward..
iphone objective-c uiview uitableview
Comments
Post a Comment