2011-10-13 25 views

回答

2

1)在iOS < 5.0實施以下在你委託方法:

發送作爲主體(消息數據)的請求的傳輸(例如,在一個http POST請求)。 (可在IOS 3.0通過的iOS 4.3。)

- (void)connection:(NSURLConnection *)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite 

2)的iOS> = 5.0

無可用的文檔

[NSURLConnectionDataDelegate connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:] 
+0

非常感謝,我希望它對我有用 – user891268

相關問題