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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -