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
Post a Comment