How to set time interval api call in ios objective c and reload the table view after getting success -


i new ios development .i have issue . need call api after set time interval (ios objective c) . after getting success should load table view .

below do...

step 1 : call webservice [self makewebservicecall]

step 2 : when webservice call done, use nstimer in - (void)connectiondidfinishloading:(nsurlconnection *)connection {

[nstimer scheduledtimerwithtimeinterval:2.0 target:self selector:@selector(makewebservicecall) userinfo:nil repeats:no];                                         ^^^ --> change increase more 

that's it...


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -