We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My code:
func tableView(_: UITableView, editActionsForRowAt indexPath: IndexPath, for orientation: SwipeActionsOrientation) -> [SwipeAction]? { print("orientation", indexPath, orientation) switch orientation { case .right: let deleteAction = SwipeAction(style: .destructive, title: "Right") { _, _ in // handle action by updating model with deletion } deleteAction.image = UIImage(named: "binIcon") return [deleteAction] case .left: let deleteAction = SwipeAction(style: .destructive, title: "Left") { _, _ in // handle action by updating model with deletion } deleteAction.image = UIImage(named: "binIcon") return [deleteAction] } }
in log I see always orientation as right:
orientation [0, 0] right orientation [0, 1] right orientation [0, 2] right orientation [0, 3] right
please look at the behavior
The text was updated successfully, but these errors were encountered:
got same issue with version 2.7.1
Sorry, something went wrong.
No branches or pull requests
My code:
in log I see always orientation as right:
please look at the behavior
The text was updated successfully, but these errors were encountered: