ios - How can I capture a table row press action in Swift WatchKit? -
i have table dynamic rows. when run probject rows display on screen , have press animation xcode won't let me wire table row ibaction controller. can't use segue in instance, needs button press preferably on whole table rown i'd rather not insert button it. appreciated, thanks!
you want override table:didselectrowatindex
function. method on wkinterfacecontroller
.
override func table(table: wkinterfacetable, didselectrowatindex rowindex: int) { //handle row selection }
Comments
Post a Comment