Re : iphone apps development
Well, as you need to set bandwidth usage limit for cellular network to control the download of heavy pdf files. This can be achieved by using ASIHTTPRequest open source library @ allseeing-i.com/ASIHTTPRequest/How-to-use#throttling_bandwidth]ASIHTTPRequest example code - All-Seeing Interactive
Below snippet code will be used while making the request.
// Will limit bandwidth to the predefined default for mobile applications when WWAN is active.
// Wi-Fi requests are not affected
// This method is only available on iOS
[ASIHTTPRequest setShouldThrottleBandwidthForWWAN:YES];
// Will throttle bandwidth based on a user-defined limit when when WWAN (not Wi-Fi) is active
// This method is only available on iOS
[ASIHTTPRequest throttleBandwidthForWWANUsingLimit:14800];
// Will prevent requests from using more than the predefined limit for mobile applications.
// Will limit ALL requests, regardless of whether Wi-Fi is in use or not - USE WITH CAUTION
[ASIHTTPRequest setMaxBandwidthPerSecond:ASIWWANBandwidthThrottleAmount];
// Log how many bytes have been received or sent per second (average from the last 5 seconds)
NSLog(@"%qi",[ASIHTTPRequest averageBandwidthUsedPerSecond]);
Hope this will help you to resolve your issue.