1

Request: Do not mark this question as duplicate as have researched around and all questions are around 4 years old

I came across an application which got me curious as to how it works -> My Data Manager

To track internet usage is ok and can be done using ifaddrs, however the data obtained here is very raw i.e it only tells the data send and received via type of network.

What is eye candy about the app mentioned above that it lists the data used per app. Primarily each app being sandboxed, is inaccessible to other applications (other than some public API methods of which overuse causes to rejection of application)

My questions:

  1. How to get list of all applications installed on iOS device?
  2. How to track internet usage per application?

I look forward to do both on non-jailbroken device.

Ganesh Somani
  • 2,280
  • 2
  • 28
  • 37
  • 1
    I don't think it's possible, Apple is really concerned about privacy and security and won't allow something like that. You can still have a look at the project appbleed https://github.com/PierreBlazquez/appbleed-ios, but this will never pass Apple submission – Damien Oct 20 '17 at 10:27
  • @DamienBannerot The question still remains: how did My Data Manager do it? – Tamás Sengel Oct 20 '17 at 10:57
  • They might use "func canOpenURL(_ url: URL) -> Bool" – Damien Oct 20 '17 at 12:31
  • 1
    @DamienBannerot - I had that researched and have added a link to it. It causes application rejection by Apple. – Ganesh Somani Oct 20 '17 at 13:32

1 Answers1

2

They use VPN configurations to monitor your network usage. Attached here is the screen from their app. If you give permissions they will add a VPN configuration to your settings. Check out on how to do that

A screenshot from the app

Vinayak Parmar
  • 608
  • 10
  • 18