2015-02-09 120 views

回答

2

每個iOS應用程序運行在沙箱和(至少在設備上)無法訪問其他應用程序的文件。

因此,在iOS上,Environment.GetFolderPath(Environment.SpecialFolder.Personal)爲您提供的是可以存儲應用程序的用戶數據的位置。

如果你從iOS(沒有沙箱)運行這個外部,那麼你會得到一個共享的位置(每個操作系統不同)。

+0

謝謝你解釋得很好 – 2015-02-11 10:55:08

+0

https://developer.xamarin.com/guides/ios/application_fundamentals/working_with_the_file_system/ – 2016-09-23 09:38:48