Hi Claude, yes I use the software keyboard, I originally had "if let characterCount = textField.text?.count" but changed it thinking that was an issue.
I did add the "print", to my surprise it counted 27 'Count"
With your changes above it now works flawless I appreciate your help on this
Thank you!
Post
Replies
Boosts
Views
Activity
Found my solution!
override func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationsForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? {
let deleteAction = UIContextualAction(style: .destructive, title: "Delete") { (action, sourceView, completionHandler) in
if let appDelegate = (UIApplication.shared.delegate as? AppDelegate) {
let context = appDelegate.persistentContainer.viewContext
let inspectionsToDelete = self.fetchResultController.object(at: indexPath)
context.delete(inspectionsToDelete)
appDelegate.saveContext()
}
completionHandler(true)
}
Thanks for any help getting me in the right direction.
Drew
Starting a new post]
Forgot to mention, I am using datePickerStyle = .wheels
My App is in the App store and a new version is in TestFlight. If you have submitted the App to TestFlight, you may have to delete the App from your iPhone and then you will be able to run it again from Xcode. I had the same message after downloading My App from TestFlight, I deleted the TestFlight version and was able to run my App through Xcode.
Hope this helps
He, we are looking for the fix. Is there an updated xcode that will run this ios?