Quote:
Originally Posted by menaka
actually no error in that...
|
i'm using json server. can you say one solution for me,i used this code
- (void)connection

NSURLConnection *)connection didReceiveResponse

NSURLResponse *)response {
[responseData setLength:0];
}
- (void)connection

NSURLConnection *)connection didReceiveData

NSData *)data {
[responseData appendData:data];
}
just it shows in output, connection failed:error domain=NSURLerrordomain