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

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

sql - text truncated using perl DBI insert -

php - Pass object by reference or value -