Get the name of file(s) within last directory and the full directory path using Swift – Ios swift
I am trying to obtain the name of a file (JSON format but saved without an extension) within the last directory of a given path. Each file is saved with its own unique subpath inside the app's data container. I…