I tried to find the file inside the ios emulator. When I scan the directory all the time, it finds my Mac Book local directory. I don't know why the external folder is being read by the emulator. Turn it off or Is there any way to access the folder inside the emulator?
The code proceeds from a test application written in Objective-C. Here's the code:
if ((dir = opendir("/Users/macAccount")) != nullptr) {
while ((diread = readdir(dir)) != nullptr) {
printf ("target : %s", diread->d_name);
}
closedir (dir);
}
==> result (This is the contents of my account on the macbook.)
.android| DataGripProjects| Public| .ssh| Movies| .vimrc| Applications| .gradle| .Trash| Mon.tar.gz| .npm| ...