Forum Cross Platform with Xamarin
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Is there a cross platform way to utalize NSLibraryDirectory?

Currently all the online documents suggest putting things into Environment.SpecialFolder.ApplicationData. I really dislike this because the Apple policies for iCloud are that you only put stuff in the Documents folder that the user has created and will modify.

My XCode based apps use a "Private Documents" folder in the NSLibraryDirectory and are marked as "do not backup". I'd prefer putting any SQLite data and cached thumbs into this folder. Actually there is also supposed to be a ~/Library/Cache folder.

Is there a nifty way to access / put stuff into the ~/Library folder that would scale to Android?

Can't believe the iCloud issue never came up?

Sign In or Register to comment.