Re: Exception using custom input stream for NSURLRequest
Re: Exception using custom input stream for NSURLRequest
- Subject: Re: Exception using custom input stream for NSURLRequest
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Mon, 06 Feb 2012 12:43:32 +0000
On 4 Feb 2012, at 04:58, Jens Alfke wrote:
> I’m going to try and override that private method, Quinn’s objections notwithstanding, since it’s pretty clear from the name what it’s supposed to do.
IMPORTANT: These methods are considered private API and thus a) engender a binary compatibility liability, and b) are disallowed for App Store apps.
A better solution is to use a bound pair of streams, as returned by CFStreamCreateBoundPair. The POST functionality in the SimpleURLConnections sample code shows the way.
<http://developer.apple.com/library/ios/#samplecode/SimpleURLConnections/>
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden