Can we read the data usage of installed application?

I need to create an application which shows the data usage by using cellular and wi-fi. I need to track all the application installed in iphone and check the data consumption

Can we read the data usage of installed application?

No. You can get system-wide data usage via

getifaddrs
but there are some significant caveats (see this thread). There is no API to get per-app data usage.

It would be reasonable to file enhancement requests for APIs to get:

  • Network data usage of the device as a whole

  • Network data usage for your own app

There’s very little point, IMO, requesting an API for getting data usage for other apps; the general iOS security policy is that apps should not be able to get any information about other apps on the system.

Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"