I followed this solution and I was able to get it to work successfully:
how to get document id on tapping the uitablecellviewcell in Firestore in swift
However, now my challenge is how do I pass the documentID to the next view controller on Segue? I understand I have to use the following function:
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
Also how do I call the documentID in the next view controller?
I would truly appreciate any advice you may be able to provide. Thank you!