using System; using TINK.Model.Device; using Xamarin.Forms; [assembly: Dependency(typeof(TINK.iOS.Device.SpecialFolder))] namespace TINK.iOS.Device { public class SpecialFolder : ISpecialFolder { /// /// Get the folder name of external folder to write to. /// /// public string GetExternalFilesDir() { return Environment.GetFolderPath(Environment.SpecialFolder.Personal); } /// Gets the folder name of the personal data folder dir on internal storage. /// Directory name. public string GetInternalPersonalDir() { return Environment.GetFolderPath(Environment.SpecialFolder.Personal); } } }