IOS data counters - using a private API

I am developing an application that is not intended for the App Store, so I can use private APIs.

What I'm trying to accomplish is getting data counters for specific applications - if possible separately for using WIFI and a cellular network.

I guess there is probably some API for this, as Apple does this in Settings> Cellular> Use Cellular Data for and Settings> General> Use. I went through headers , but this is a very long process.

Does anyone know which private API allows this feature? Otherwise, where will this data be physically stored on the device so that I can access it?

+6
source share
2 answers

Tons of private APIs are not documented and vary from different versions of iOS. Finding the exact method may be the only way to answer the question. Fortunately, there is some general way to find a private API yourself.

Sorry for the wrong answer.

0
source

Here is a private framework that can help you: iOS Runtime Header

0
source

All Articles