This is the direct translate from @phix23 to MonoTouch (Sorry for the length of the lines, cocoa is too verbose):
var docDir = NSSearchPath.GetDirectories(NSSearchPathDirectory.DocumentDirectory,NSSearchPathDomain.User, true)[0];
var freeSpace = NSFileManager.DefaultManager.GetFileSystemAttributes(docDir).FreeSize;
In Objective-C you can get the available file system space with
NSFileManager
:To get the amount of space your app is using read this question: Calculate the size of a folder
This is the direct translate from @phix23 to MonoTouch (Sorry for the length of the lines, cocoa is too verbose):
this is close, but not perfect.