Possible Duplicate:
iPhone Data Usage Tracking/Monitoring
I'm trying to build a "Data Usage Monitoring" iphone app as a quick demo, but haven't been able to figure out how to get CellularData/Wifi usage statistics programmatically.
I know this is possible, as there are several apps in the app store for this (DataUsage, DataMan).
I know for a fact that these are not scrapping the cellular provider's pages to get the data usage, so I'm wondering how they are able to achieve this.
Couldn't find anything in the iOS 4.2 SDK Documentation.
I'm guessing they are somehow getting the data that is displayed under "Settings -> General -> Usage",