Hi,
On the Xcode 14.1 Simulator with an iPhone 14 on iOS 16.1, the Swipe actions on UITableViewCells are not displayed easily when doing a swipe. At the opposite on a real device, the option is displayed without problem. Do you have any idea on how to fix that.
I have this simple code to add a delete action on tableView cells:
func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? {
let action = UIContextualAction(style: .destructive,
title: "delete") { [weak self] (action, view, completionHandler) in
completionHandler(true)
}
action.image = UIImage(named: "trash")
let configuration = UISwipeActionsConfiguration(actions: [action])
configuration.performsFirstActionWithFullSwipe = false
return configuration
}
Thank you.
Post
Replies
Boosts
Views
Activity
Hi, I'm implementing the new Sign In With Apple in my app.
I meet an unusual error. It works great but when I test and I remove my app from the Apps using Apple ID in:
Settings > Username > Password and security > Apps using my AppleID > MyApp > Stop using AppleID
If I do that, the window presenting which credentials to use doesn't display the AppleID as an option.
The first time, this same window presented me the AppleID credentials and also the old credentials I used and store in the device.
Thanks.