A added File Sharing in Plist in My app So I can Easily Copy Files when The iPhone has connect with iTunes to my mac But the problem is that when I copy some files with iTunes in my App and Run the app I have 2 Problems :
1- when I stop the app and open that again I can't see any files in iTunes in the file sharing part
2- This code Below here should print file Exists if there is file and print some thing else if there isn't file But Just Print File Exists
here is my codes
if filemgr.fileExists(atPath: "/Applications") {
print("File exists")
} else {
print("File not found")
}
when I click the button to check files I just See File Exists even when I delete the app and install it again please help me