Questions tagged [uitableviewrowaction]
171 questions
0
votes
1 answer
UITableViewRowAction Sliding Right
func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [AnyObject]? {
var activate = UITableViewRowAction(style: UITableViewRowActionStyle.Normal, title: "Activate") { (action, indexpath) -> Void…

TomTom
- 899
- 8
- 16
-1
votes
1 answer
Dynamic number of uibuttons in uitableviewcell with sections swift4
dynamic number of uibuttons in uitableviewcell with sections
Hey guys I want to implement a UI like the one in the link above. The tableview has cells with sections and each section has a different number of uibuttons from the other. The number of…

Bob Sira Sira
- 1
- 4
-1
votes
1 answer
UITableView row selection and tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
I do row selection in my code
tbvCounters.selectRow(at: counterIndexPath, animated: true, scrollPosition: .middle)
and I assume that protocol method
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
should be triggered…

Dawy
- 770
- 6
- 23
-1
votes
1 answer
how can I change the height of UITableViewRowAction in swift?
I have a cell where the bottom 10px ish is used as a seperator. I want to make the UITableViewRowAction to be the same height as the inner view without the seperator but swift does not seem to support this kind of functionality..
Is there any way…

Seong Min Choo
- 137
- 8
-1
votes
4 answers
Can't move UITableView Rows Swift 4
this code was fully working prior updating to ios 11 and swift 4, I don't know what's happening I have also attached a video showing the issue.
I can't move the rows anymore. Any advise?
Thanks.
override func tableView(_ tableView: UITableView,…

Khajak Kirikian
- 11
- 4
-1
votes
1 answer
Set accessoryType and save it
I'd like to display an accessoryType in a UITableViewCell in which an UITableViewRowActionButton has been pressed. The accessoryType should also be displayed if the app relaunches. So I think I have to store something. Does someone have an idea how…

horst
- 575
- 1
- 6
- 15