Questions tagged [uitableviewrowaction]

171 questions
4
votes
0 answers

Font for button titles in editActionsForRowAtIndexPath

Firstly, it would be nice for anyone that has 1500 reputation to create a new tag for UITableViewRowAction I don't have that privilege. using xcode version 6.1 I currently am using Apples newly introduced edit actions for UITableViewCells as shown…
soulshined
  • 9,612
  • 5
  • 44
  • 79
3
votes
5 answers

Set custom font for UITableView swipe action (UIContextualAction)

How do you set a custom font for the title in UIContextualAction? I have tried UIAppearance but without any luck... Cheers! :)
3
votes
3 answers

How can the content of a UITableViewCell be updated properly?

I have a TableView whose cells content need to be updated when it's TableViewRowAction is excecuted. More precisely I want to update a UILabel inside the cell. Setting a new text to this label inside the action is no problem but when scrolling…
anton68
  • 387
  • 3
  • 14
3
votes
3 answers

iPhone deselect row after delay

I was wondering if anyone was aware of a way to deselect a table view after a delay? I am using the deselectRowAtIndexPath method. I just want the highlighting to show up for a second before deselecting it. Thanks!
gabaum10
  • 3,769
  • 3
  • 48
  • 89
3
votes
2 answers

Table view cell background goes white when deleting a cell - iOS

I have an iOS app with a UITableView, I have noticed that the cell background colour flashes white when the user selects the Delete button. In the editActionsForRowAtIndexPath method, I have created two cell buttons: Edit and Delete. The first…
3
votes
1 answer

UITableViewCell row action while table is editing

I have a UITableView which I need to both reorder and allow for cells to be deleted by swiping left on a cell to reveal the Delete action. Is it possible to have both at the same time? For the table I have: tableView.allowsSelectionDuringEditing =…
Horea
  • 201
  • 2
  • 14
3
votes
0 answers

Simulate left drag of UITableViewCell

My goal is to indicate to first time users that the cells on my tableview are editable. To show this, my goal is to animate a slight left drag. Outside of programmatically generating touch events, I was unsure whether its possible to achieve…
daspianist
  • 5,336
  • 8
  • 50
  • 94
3
votes
2 answers

Check for deselection in UITableViewCell

I have a UITableView in the Master of a Master-Detail setup. Users can interact with the cell through UITableViewRowAction, or search using a given search bar. When the user interacts with the search bar or slides the cell to the left, the cell is…
Berry
  • 2,143
  • 4
  • 23
  • 46
3
votes
2 answers

How to animate Edit Actions For Row At IndexPath to show user action

I have seen a few apps that have implemented an animation when users load a tableView that shows them they can swipe left on a cell. It shows the cell being swiped then quickly closes so the user can do what they want. I have searched for some…
Craig.Pearce
  • 746
  • 7
  • 25
3
votes
0 answers

Add a full-row swipe action using native UITableViewRowAction

Is there any native iOS functionality for UITableViews that allows you to implement a full left or right swipe action on a cell? There is obviously Ray Wenderlich's tutorial to do this, MGSwipeTableCell, and I think SWTableViewCell can do this too,…
brandonscript
  • 68,675
  • 32
  • 163
  • 220
3
votes
0 answers

iOS: Trigger "swipe-to-delete" manually instead of a user interaction

I have an UITableView with multiple UITableViewCells. I implemented the following delegate methods to allow the user the "swipe-to-delete" functionallity. UITableView -> canEditRowAtIndexPath UITableView -> commitEditingStyle It basically looks…
Leo
  • 91
  • 6
3
votes
1 answer

Custom table view row action (image)

My app includes an UITableView. It's cells has the option to display more than one line. The cells has also a custom row action (image). I set the row action image like this: let date = UITableViewRowAction(style: UITableViewRowActionStyle.Default,…
paro
  • 217
  • 3
  • 10
3
votes
0 answers

Add Background Image to UITableViewRowAction button

I am working with UITableViewRowAction. My requirement is that on left swipe of a table cell, I should show 2 UITableViewRowAction button. I am able to achieve that by implementing -(NSArray *)tableView:(UITableView *)tableView…
Exception
  • 2,273
  • 1
  • 24
  • 42
3
votes
4 answers

UITableView checkmark style remove highlight on select

I am trying to remove the highlight when selecting a table view cell, but want to keep the checkmark that appears. When I try this in cellForRowAtIndexPath: cell.backgroundView = UIView() cell.backgroundView?.backgroundColor =…
haitham
  • 3,398
  • 6
  • 21
  • 35
3
votes
0 answers

UITableViewRowAction switch to left

Is it possible to change the UITableViewRowAction to left swipe instead of the standard right? here is my code: override func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [AnyObject]? { var…
gamerChristian
  • 471
  • 2
  • 6
  • 17
1
2
3
11 12