ios - Can I choose only portion of a row in UITableView to be clickable(selectable) in Swift? -
so have table in accordion style. when row clicked, 5 radio buttons displayed. then, users should able click on buttons. displays buttons, when buttons clicked, instead of highlighting selected button, shrinks row itself. think because implemented each set of label part , option part single row, in different uiviews. believe clicking on view contains buttons overridden clicking on row(label + options). hard explain, think solution restricting selectrow action of table portion of row.
is there way achieve this? if cannnot, there other ways implement accordion table used described?
i having hard time trying explain this. if have questions, please let me know.
as per understanding van give try below steps:
- disable row selection can avoid row selection. use
cell.selectionstyle = .none
- secondly button in row set ibaction in controller class , in storyboard connect actions specific buttons.
Comments
Post a Comment