Does anyone know how to get the path to the tmp
directory in iOS 8 with Xamarin?
Just try:
var documents = NSFileManager.DefaultManager
.GetUrls(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomain.User)[0].Path;
var tmp = Path.Combine(documents, "../", "tmp");
You can just use
var tmp = System.IO.Path.GetTempPath ();
This will return your app's tmp directory
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With