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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -