Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WM20] fListFile does not work for iOS

$
0
0
Hello all,

For my iOS application I try to make some sort of file explorer (Gallery for pictures).
It is basically the same application as an Android project, which I previously created.

For the Android project the fListFile() method does return a string with the different files in the stated directory. Nevertheless, in both the iOS emulator and an actual device this appears to be blank.

Did some of you encounter the same problem or did I forget something? If this is not the case, is there some work around method?
My test code looks as follows:
GnFotoiOS is string = fCurrentDir()+"/Gallerij/"                                //Basically: Documents/Gallerij/
IF NOT fDirectoryExist(GnFotoiOS) THEN fMakeDir(GnFotoiOS)

Info(fDirectoryExist(GnFotoiOS))        //Results: 1
Info(fListFile(GnFotoiOS))                   //Results: Nothing although there are files
Info(fCreate(GnFotoiOS+"test.txt"))    //Creates test files > Results: identifier (file is created)
Info(fListFile(GnFotoiOS))                   //Results: Nothing although there are files + test file

Thanks in advance,
Rik

Viewing all articles
Browse latest Browse all 1914

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>