uitableviewrowaction Questions

11

Solved

Am using UITableViewRowAction in "editActionsForRowAtIndexPath" method. I can change the backgroundcolor of UITableViewRowAction, but am not able to change the title color. But I would like to chan...
Dido asked 12/11, 2014 at 12:56

9

Solved

I made a custom UITableViewRowAction. Now I'd like to add an image instead of the text. I know that it's possible but don't know how to do it. Does someone of you knows how to do this in Swift and...
Kermitkermy asked 2/4, 2015 at 20:29

7

How can i remove the table view cell highlighted color in edit mode. I am using the table view property “allowsMultipleSelection” in edit mode. By default the cell is highlighted in a light blue co...
Oina asked 27/3, 2018 at 17:3

4

How to add custom image to delete button when swiping cell from right on UITableview as shown in the below image? func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: ...
Mannerly asked 7/4, 2016 at 9:32

3

Solved

There are a couple of similar questions out there, but I think there should be up an up to date answer for iOS 10, using Swift3, that doesn't use private APIs, and doesn't rely on you restricting y...
Sheet asked 17/1, 2017 at 19:50

1

Solved

I can see this behavior in both deprecated UITableViewRowAction class and UISwipeActionsConfiguration class: If you have allowsMultipleSelection property set to true and, let's say, you have 3 row...

4

Solved

Strange issue arrived after updating new XCODE 9.2 with iOS 11.2, by calling let indexPath = IndexPath(item: 0, section: 1) self.tableViewHome.reloadRows(at: [indexPath], with: .none) It causes...
Tenor asked 7/12, 2017 at 8:9

9

Solved

I have classic TableView where you can delete item if you swipe and than clicking on the button. I know how to set custom background on the cell, but I can't find how I can set custom font and colo...
Skeie asked 14/3, 2015 at 13:11

6

I implemented editActionsForRowAtIndexPath and commitEditingStyle the swipe is working but no edit actions appear on the UITableViewCell my implementation for editActionsForRowAtIndexPath and comm...
Kary asked 23/6, 2015 at 13:23

2

Solved

When I swipe a UITableView cell, the below code is called: func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath) -> [UITableViewRowAction]? { //Problem code let...
Discomposure asked 5/9, 2016 at 22:44

1

Solved

I'd like to make a cell swipe action like mail app. I set UIImage to backgroundColor of row action. action.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"remove"...
Jeremy asked 26/5, 2016 at 2:28

1

Is there any way to programmatically trigger the equivalent of swiping left on a UITableViewCell that has edit actions? This is different from simply [tableView setEditing:YES animated:YES] as that...
See asked 19/3, 2016 at 14:42

2

Solved

I have the following swift code to implement a UITableViewRowAction, when I swipe a row the row slides out to the left as expected, however all the Section Header Rows also slide to the left with t...
Caprifoliaceous asked 24/3, 2015 at 0:36
1

© 2022 - 2024 — McMap. All rights reserved.