PCLStorage icon indicating copy to clipboard operation
PCLStorage copied to clipboard

Can't access Documents folder in iOS

Open BillFulton opened this issue 9 years ago • 2 comments

Terrific package but unfortunately it appears there is no way to store files in the iOS Documents folder. This is critical because if your app needs to allow users to sync files via iTunes, the files must be placed in Documents, not Library -- an iOS restriction. Unable to use PCLStorage for this reason. A third mode after LocalStorage and RoamingStorage is needed : - for Android it would be the same as Local, for iOS it would point to Documents.

BillFulton avatar Aug 14 '15 09:08 BillFulton

LocalStorage defaults to the Library folder with the path "<app_storage_path>/Documents/../Library"

Files can be stored in the Documents folder by adding "/../Documents" to this path.

trevordaniels avatar Apr 16 '16 11:04 trevordaniels

Hey thanks. I should have thought of that!

BillFulton avatar Apr 16 '16 13:04 BillFulton