ios - UITableView scrolling get disturbed because of NSTimer -


inside 1 class have added uitableview , nstimer.

when i'm trying scroll uitableview freezing.

if nstimer not added, uitableview working fine.

here's code adding nstimer

if (self.timer != nil) {     [self.timer invalidate];     self.timer = nil; } self.timer = [nstimer scheduledtimerwithtimeinterval:0.0 target:self                                        selector:@selector(updateclock)                                        userinfo:nil repeats:yes]; [[nsrunloop currentrunloop] addtimer:self.timer formode:nsrunloopcommonmodes]; 

please suggest me solution , did wrong.

you should call timer @ least .1 second above or 1 second tableview of application not struck


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -