Unfortunately, there is no code. It is just the Back Button that is part of Nav Controller however the ViewController in question
called by the following codes:
Code Block | override func prepare(for segue: UIStoryboardSegue, sender: Any?) { |
|
| if let vc = segue.destination as? CommentsViewController { |
|
| vc.idTaskAction = cellTaskId |
|
| vc.requestType = segm |
|
| vc.taskText = taskTxt |
|
| vc.t_status = curStatus |
|
| vc.userName = currentUser?.email ?? "" |
|
| } |
|
| } |
CommentsViewController is wrapped into navigation controller and its Back Button is issuing the above error message randomly