Tracking wifi and cellular bytes sent and received by each process/app in ios
问题 I went through this link regarding retrieve the applications currently running in iPhone and iPad . Is it possible to track wifi and cellular interfaces for each process running on iphone? 回答1: You can refer to this post to get the data counters, but it is for the wifi/cellular data overall, not only your app: iPhone Data Usage Tracking/Monitoring Edit : Code added - (NSArray *)getDataCounters { BOOL success; struct ifaddrs *addrs; const struct ifaddrs *cursor; const struct if_data