title: iPhone Data Usage Monitoring
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7946699/iphone-data-usage-tracking-monitoring">iPhone Data Usage Tracking/Monitoring</a>  </p>
  </blockquote>
  
  
  
  <p>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.</p>
  
  <p>I know this is possible, as there are several apps in the app store for this (DataUsage, DataMan). </p>
  
  <p>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. </p>
  
  <p>Couldn't find anything in the iOS 4.2 SDK Documentation.</p>
  
  <p>I'm guessing they are somehow getting the data that is displayed under "Settings -> General -> Usage", </p>