FabDev 8 Posted October 5, 2023 (edited) Hello,  I'am trying to access to shared document directory on IOS. The one you can found in default "File" application and after "On my Iphone"("sur mon Iphone" in french) : Application "FileHub", "Firefox" or "FTPManager" can store shared file here, but not me 😉.  I have tried all path in TPath (IoUtils) class/record. Nothing seems to return it. The interesting TPath.GetSharedDocumentsPath return '' on IOS (confirmed by help). I have began to search it on, the very good, DelphiWorld/Kastri code source (like DW.FilesSelector.iOS.pas) without success for the moment...   Edited October 5, 2023 by FabDev Share this post Link to post
corneliusdavid 220 Posted October 5, 2023 This doesn't directly answer your question but I did some comparison of the IOUtils paths on various platforms and learned a lot while writing this small open-source app:Â https://github.com/corneliusdavid/AppPaths. Maybe it will reveal some access limitations on iOS. 1 Share this post Link to post
FabDev 8 Posted October 5, 2023 (edited) 33 minutes ago, corneliusdavid said: I did some comparison of the IOUtils paths on various platforms Hello, Before I have asked my question here, I have coded an application which do something very close to your procedure TfrmAppPaths.RefreshPathList; Result, that confirm Delphi Help of Tpath, a lot the function return '' in IOS... Edited October 5, 2023 by FabDev Share this post Link to post
Dave Nottage 563 Posted October 5, 2023 6 hours ago, FabDev said: The one you can found in default "File" application and after "On my Iphone"("sur mon Iphone" in french) : I have added a demo to the HowTo repo that demonstrates how to achieve this. Â Please read the readme for instructions. Note that there is no special folder - it's a case of configuration in order to share files from the documents folder. 2 2 Share this post Link to post
FabDev 8 Posted October 6, 2023 (edited) Thank you very much Dave, It's work fine. Â If I understand well with : UIFileSharingEnabled LSSupportsOpeningDocumentsInPlace root of document path (= TPath.GetDocumentsPath) become shared. Great job, you have written one of the most useful libraries Kastri and help HowTo repo (which I have missed !) of Firemonkey. Â Edited October 6, 2023 by FabDev 2 Share this post Link to post