objective c - I'm trying to send requests to servers -



objective c - I'm trying to send requests to servers -

nsstring *url =[nsstring stringwithformat:@"http://cvidyasharam.physicscafe.in/loginmobile.php?email=%@ password=%@",username.text,password.text]; equest = [nsmutableurlrequest requestwithurl:[nsurl urlwithstring:url] cachepolicy:nsurlrequestreloadignoringlocalcachedata timeoutinterval:10.0]; nsurlconnection *conn = [[nsurlconnection alloc] initwithrequest:request delegate:self]; if (conn) { nsurlresponse *response; nserror *err; responsedata = [nsurlconnection sendsynchronousrequest:request returningresponse:&response error:&err]; } if ([responsedata isequal:@"yes"]){ [self performseguewithidentifier:@"condition" sender:nil]; login = @1; } else{ uialertview *alert= [[uialertview alloc]initwithtitle:@"incorrect combo" message:@"intruder alert" delegate:self cancelbuttontitle:@"cancel" otherbuttontitles: nil]; [alert show];

every time run programme ends screen highlighting responsedata = [nsurlconnection sendsynchronousrequest:request returningresponse:&response error:&err]; line in green. wrong code?

what @hotlicks said true.

the application has stopped on break point.

my statement based on images provided here. take closer look.

it shows execution has been paused. see if have on particular line.

delete

you can read more here. http://jeffreysambells.com/2014/01/14/using-breakpoints-in-xcode

objective-c

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -