Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!


Access IOS 8.3+ App Documents Folder With File Sharing Flag In Delphi XE8 Firemonkey On IOS

Delphi XE8 Firemonkey IOS 8.3 File Sharing Documents FolderApple has increased security and locked down the Documents folder of your IOS apps in IOS 8.3+. Previously you could access the directory and manipulate the files in it using tools like iFunBox. There is a flag you can enable however which restores this functionality. The flag is called UIFileSharingEnabled and you can add it to your Info.plist file. Obviously you must redeploy your app to enable this functionality. In Delphi XE8 Firemonkey I believe you can add this to Project Options | Version Info section as a new Key Value pair of UIFileSharingEnabled Yes. In addition to iFunBox I also found a second file manager app called iExplorer which also allows you to manage the files in your IOS 8.3+ app’s directory at runtime. iExplorer seems to have a really good history of updating quickly to keep you ahead of the Apple update curve. Once you enable the file sharing flag you should be able to go back to opening, editing, and saving files in your app Documents directory using iFunBox and iExplorer. You should also be able to use this trick with your Appmethod apps. There is a StackOverflow question and answer session which covers the file sharing flag in more detail.

Check out all of the answers about the UIFileSharingEnabled flag for Delphi XE8 Firemonkey on IOS 8.3+.


Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts

Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux


Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows


Top Tips And Tricks To Speed Up Development With Delphi 10.4 FireMonkey On Android and IOS


TStringList and TFDMemTable Contribute To The Powerhouse That Is Cross Platform Delphi Development In FireMonkey

Sign up for our Newsletter and
stay informed

Leave a Reply