Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

newtoiphonesdk

macrumors 6502a
Original poster
Jul 30, 2010
567
2
I need to throttle it so that it meets Apple's requirements of no more than 5 MB per 5 minutes of data use. I have everything setup with NSURLConnections and would rather not have to change everything if it is not possible, I would just make it wifi only. However, if NSURLConnection can throttle the data to a certain amount over period of time, I would be most interested to learn how.
 
Two questions:

1 - What are you doing that requires so much data?
2 - Does that requirement apply to Wi-Fi as well as cellular, or just cellular?
 
Two questions:

1 - What are you doing that requires so much data?
2 - Does that requirement apply to Wi-Fi as well as cellular, or just cellular?

I'm just streaming audio, and according to the AppStore review guidelines, you cannot stream audio via cellular connection that uses 5 mb or more in a 5 minute time span.
 
FWIW, I think the ASIHTTPRequest has a throttling functionality, although I've not used it. You might either use it as is or see how it works by looking at the source code.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.