ios - Get button click on UITableView in Swift -


i have simple table view looks enter image description here

each button overflows part next cell (part of requirement).

i want overflowing button's click event. how ?

by default taking cell click rather button click if click on overflowing part.

i have created dummy code changes button color on click, easy try out. same layout.

thanks

edit

below original image , trying , simplicity sake scaled down button lets assume req u cant change height , cant play around table view separator

enter image description here

you have implement 'tableview:heightforrowatindexpath:` method , return greater value has now. cells don't have enough height display buttons fully, , because of part of button hides behind of next cell. can convinced checking "clip subviews" checkbox of cell prototype in interface builder, , if see buttons clipped.


edit

check this: https://github.com/arturdev/test

enter image description here


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -