在表格视图头部添加一个滚动视图,随之NSTimer的刷新不断滚动,但是怎么实现在拖拽住表格时,滚动视图依旧滚动,而不会停止下来????
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
NSTimer *timer = [NSTimer timerWithTimeInterval:1.f target:self selector:@selector(onTimer:) userInfo:nil repeats:YES]; [[NSRunLoop currentRunLoop] addTimer:timer forMode:NSRunLoopCommonModes];
NSRunLoopCommonModes est la clé
NSRunLoopCommonModes est la clé