iOS Can NSURLConnection Be Used To Throttle Data?

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.
 

ArtOfWarfare

macrumors G3
Nov 26, 2007
8,709
3,998
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?
 

newtoiphonesdk

macrumors 6502a
Original poster
Jul 30, 2010
567
2
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.
 

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
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.