I'm writing an iPhone App that might potentially send/receive a lot of data over time, depending on polling intervals.
I would like to display the amount of sent/received bytes on runtime, and maybe alert the user when reaching a user-specified threshold. Any tips on how to track the amount of sent/received bytes within my app? (I'm only interested in the amount of data my app sends/receives while running).