Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get Storage Size of Applications programmatically in iPhone

I want to get the Storage Sizes of each Applications in iPhone through objective C.
Any one help to get like this.... enter image description here

like image 731
Suresh D Avatar asked Mar 07 '12 14:03

Suresh D


People also ask

How do I see how much free space I have on my Iphone?

Use your device to check its storageGo to Settings > General > [Device] Storage. You might see a list of recommendations for optimizing your device's storage, followed by a list of installed apps and the amount of storage each one uses.


1 Answers

Assuming you are developing for a jailbroken device (if not then it is impossible to access the applications on the device), the SpringBoard should have predefined methods for accessing the metadata of all the applications installed. If you look at headers of SBApplication.h then there are methods for getting the metadata.

like image 122
Otium Avatar answered Sep 22 '22 03:09

Otium