uinavigationcontroller - UITableView with UIToolBar -
i have uitableview being pushed uinavigationcontroller. need add uitoolbar tableview. toolbar has have 2 buttons. after pressing each of them tableview show different types of data, sections , cells.
uitableview has header view , need stay whyle tableview changes.
what right way implement logics?
your uitoolbar , uitableview can composed inside viewcontroller, uitoolbar not need child view of uitableview. if viewcontroller subclass of uitableviewcontroller may need switch simple uiviewcontroller parent, can add both tool bar , table within view.
that way toolbar not scroll table.
Comments
Post a Comment