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.

table

as per understanding van give try below steps:

  • disable row selection can avoid row selection. usecell.selectionstyle = .none
  • secondly button in row set ibaction in controller class , in storyboard connect actions specific buttons.

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -