objective c - Application Get hanged when refreshing automatically -
i working map view in location based application.i tried refresh mapview live location.but gets hanged few refresh.what reason?
- (void)viewdidload { [super viewdidload]; atimer = [nstimer scheduledtimerwithtimeinterval:5 target:self selector:@selector(timerfired:) userinfo:nil repeats:yes]; } -(void)timerfired:(nstimer *) thetimer { [self viewdidload]; nslog(@"timerfired @ %@", [thetimer firedate]); }
Comments
Post a Comment