caching - iphone - how to know the storage size an app used? -
my app caching content user can read when offline.
i wrote of cache database file (using coredata) in iphone.
however, storage size limited in iphone. control disk size app using.
how can check disk size using?
thanks
the simplest , accurate solution check size of persistent store directly.
use -[nsfilemanager attributesofitematpath:error:] , filesize key of returned dictionary.
Comments
Post a Comment