what is the method to get the url from the NSURLConnection *theConnection object.
i mean i want to check like below
// did receive response
– ( void )connection:( NSURLConnection * )connection didReceiveResponse:( NSURLResponse * )response
//————————————————————————————————– { if ( connection == @”http://google.com” )
{ } else
{ }}
Is that possible…pls help me out
Dude the url is not stored in the connection, it’s stored in the NSURLResponse object.